199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ravsau

I am trying to create a menu GUI. I am having problems with the action listeners Any help would be great. Thanks Write an GUI application that display a menu system. The menu system should allow the user to select one package, one phone, and any of the options desired. …

Member Avatar for Justin_7
0
3K
Member Avatar for DTSCode

im writing a firefox addon to append signatures to posts in cplusplus.com, but im having a little trouble, as it has been a long time since i wrote in javascript. right now i just want it to verify that i am in fact on the c++ forums and if it …

Member Avatar for DTSCode
0
317
Member Avatar for venkyb47

We have ERP application that store the data to ORACLE database and also we have a lot of another web applications that use the ERP database. We got the performance issues when ERP and another application use the same database. We are planning to do mirroring of oracle database into …

Member Avatar for venkyb47
0
602
Member Avatar for Red_Rain

perhaps there is some sort of logic error i am missing here but i cannot figure out whats going wrong. I wrote this simple for loop to write the contents of a ComboBox to a txt file. The process works but for some reason it is doing the job twice. …

Member Avatar for Reverend Jim
0
177
Member Avatar for mavtcr

Friends please help me in FORMATTING DATE I have a Form with three text boxes 1.txtNo- Data type-Number 2.txtName-Data type-Text 3.txtDob-Data type -Date format dd/MM/yyyy two buttons one for adding and the other for viewing Using visual data manager I have created a database-Members with table-List having the following Fields …

Member Avatar for mavtcr
0
299
Member Avatar for Saboor880
Member Avatar for Shari_1

Hello. I'm having some troubles with my code and was just wondering if you could give me a hand. I'm working on a MVC project using data access layer (DAL, BLL, Model). So, I want to list some categories. When I click on a category, I want to list all …

0
164
Member Avatar for flebber

Maybe a list comprehsnion is not the right way to go here. I want to define a nested list that a user can tell how many lists and how many entries in each subllist. Then have random call a value for each entry in the sublist, working on unique entries …

Member Avatar for TrustyTony
0
237
Member Avatar for kal_crazy

Ok I have done the fibonacci number iteratively but now I want to do it recursively. I am using CPUSims 3.6.9 16-bit (4 bit opcode). ;getN ;get a value, n, from user ;test if fib(0) or fib(1) return to main with value getN: read ;read a value and store into …

Member Avatar for kal_crazy
0
2K
Member Avatar for Prithvi.R.K
Member Avatar for Prithvi.R.K
0
204
Member Avatar for cambalinho

the function is a std::function<void(string a) write; ok.... it's void.... but why the error about it??? what means these error?

Member Avatar for richieking
0
142
Member Avatar for XodoX

I'm new to Python, but I can use a library to do this, right? Like this one: import pprint import scipy import scipy.linalg # SciPy Linear Algebra Library A = scipy.array([ [7, 3, -1, 2], [3, 8, 1, -4], [-1, 1, 4, -1], [2, -4, -1, 6] ]) P, L, …

Member Avatar for Gribouillis
0
2K
Member Avatar for cambalinho

i understand that the macro is a code that is changed before compile it. so i did these macro with these code: #define (events2((y),(x))) (class events3 : public ( y ) { events3(); ~events3(); }(x) ; ) //#define (events2((y),(x))) (class events3 : public ( y ) { events3(); }(x) ; …

Member Avatar for Ancient Dragon
0
224
Member Avatar for rovastola

So I have to make a code that asks the user how many times it wants the word "nonsense" to be printed on a new line, I managed to get it to work but its reverse, if i write 100 it prints once and 1 it prints hundred times, how …

Member Avatar for rovastola
0
117
Member Avatar for Kentopencart

I have opencart 1.5.6 with Swedish language file I get an error code when the customer should register an account 2013-11-16 14:54:16 - PHP Warning: Can not modify header information - headers alreadycreated late by (output started at / customers/1/b/6/mittföretag.se/httpd.www/catalog/language/swedish / account / register.php: 1) in / customers/1/b/6/mittföretag.se/httpd.www/system/engine/controller.php on line …

Member Avatar for Dani
0
116
Member Avatar for fheppell

I wrote this code to integrate with filepicker.io, it takes the URL of the file and gets the header information: $info = curl_init() or die('error 1'); curl_setopt($info, CURLOPT_RETURNTRANSFER, 1); //curl_setopt($info, CURLOPT_PORT , 8089); curl_setopt($info, CURLOPT_URL, $url); curl_setopt($info, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($info, CURLOPT_NOBODY, true); //curl_setopt($info, CURLOPT_SSL_VERIFYPEER, 0); curl_exec($info); if(!curl_errno($info)){ $response = curl_getinfo($info); …

Member Avatar for diafol
0
629
Member Avatar for Virendra_1

an error ocurred while capturing the video image.The video image will now be terminated, Object reference not set to an instance of an Object".

Member Avatar for castajiz_2
0
189
Member Avatar for mufasil

Dear i want to make a program i which when Pressed UP Arrow key cicle start moving up and when pressed DOWM key circle moves Downword Similarly left and right i have draw circle and also implements Key Listner and can anyone give me ideo how i do this task …

Member Avatar for mKorbel
0
3K
Member Avatar for nadiam

this is my php code for my profile.php. it is to display the users name after login. <?php session_start(); require "connect.php"; if($_SESSION['name']) { $name = $_SESSION['name']; $query = mysql_query("SELECT name FROM register WHERE name ='$name'"); $numrows = mysql_num_rows($query); if(1 == $numrows) { while ($rows = mysql_fetch_assoc($query)) { echo "Welcome, ".$rows['name']."!"; …

Member Avatar for nadiam
0
299
Member Avatar for dargokillmar

So, this code is giving me some errors, any idea? private void pintarMobs() { JButton boton = null; Component[] botones = pnCastillo.getComponents(); for (Component c: botones){ boton = (JButton) c; int ac = Integer.parseInt(boton.getActionCommand()); int a = 0; Random r = new Random(); String foto = null; if( ac != …

Member Avatar for JamesCherrill
0
726
Member Avatar for Mr.M

Hi Dw I'm working with permissions in my program I want it to protect the chosen file by permissions and now what I want is how can I make these permissions unchanged by a user? Or if not possible because I don't want even the administrator to change these permission …

Member Avatar for Mr.M
0
788
Member Avatar for janjini.10

Is it required to use index when the MySQL table has only 100 rows? Justify your answer.

Member Avatar for cereal
0
206
Member Avatar for amani_1

Write a program that accepts two integers from the user, if any of the integers follow the other, print “ a follow b” otherwise print “***”.

Member Avatar for Warrens80
0
121
Member Avatar for Deep Modi

I want to try this: I want that the look of my textbox must be like the coding in the visual Basic. I mean When we type the code in the vb then we get the look like: "if", "else", "end if" is in colourful and all other... In Short …

Member Avatar for Deep Modi
0
271
Member Avatar for newbie14

I have my codes working where I got separate date and time columns. I would like to add one more column which have both date and time in. For the existing codes this how I did sprintf(all,'%02d:%02d:%02d.%06u%03u',CURDATE(),s / 3600, (s % 3600) / 60, s % 60, usec, nsec) I …

Member Avatar for newbie14
0
295
Member Avatar for flebber

Hi I am struggling with assigning values to a list of a list. This is my full code. import random #get user input as to size of range range_size = 0 if range_size == 0: try: range_size = int(input('Size of Range?: ')) except ValueError: print('That was not an integer!') range_size …

Member Avatar for flebber
0
542
Member Avatar for Sonu_2

How can I create an array of pointer using **P and point it to NULL? Let's say I have coded as below . struct s { float a ; char x ; } ; s **p ; p = new ( s * [10] ) ; Now I want to …

Member Avatar for richieking
0
335
Member Avatar for bryann

Can someone please help me with this because it is driving me crazy. I wrote a program which prompts the user to enter a number I convert the string to an integer when i print the value it sometimes comes out as a decimal e.g. 3.0 I thought an integer …

Member Avatar for bryann
0
321
Member Avatar for gahhon

![454d3e17a16836952cb76f6c54023cc7](/attachments/large/3/454d3e17a16836952cb76f6c54023cc7.jpg "454d3e17a16836952cb76f6c54023cc7") I am trying to create a form something like this, but inside the box container i will let the end-users to do the survery. How to do this? Thanks for in advanced.

Member Avatar for gahhon
0
146
Member Avatar for Ahsanali1603

You have to implement a file system that should have the following specifications. On the execution of your code your console should display the following options to the user. 1. Create a new file. 2. List & view existing files. 3. Copy file from windows (*.txt). 4. Copy file to …

Member Avatar for Moschops
0
390
Member Avatar for kyle.mace.35

How would one make one word of out put bold. I am making rock paper scissors using threads and I want to make the choice of either rock, paper, or scissors bold. So for example the output of the program would be "Player 1 chose **Rock**. How can I do …

Member Avatar for JamesCherrill
0
169
Member Avatar for erminasrcutp

this is my search.php , however once user has view one data user will want to update one location / status . I can not do the Edit.php . Can someone please help me ? Search.php <html> <head> <title>::Home</title> </head> <body> <div id="header"> <img src='banner.png' align='middle' width='101%' height='110%'> </div> <div …

Member Avatar for rpv_sen
0
253
Member Avatar for erminasrcutp

Can someone help me to fix this problemmm pleasee. Notice: Undefined index: id in C:\xampp\htdocs\draft3\Edit.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\draft3\Edit.php on line 6 Edit.php <?php include'e.php'; if(!isset($_POST['submit'])) { $q="SELECT * FROM myaduan WHERE id= $_GET[id]"; $result=mysql_query($q); $myaduan=mysql_fetch_array($result); } ?> <h1>You …

Member Avatar for rpv_sen
0
209
Member Avatar for gahhon

Any guidelines that able to print customize a page with custom header and data passing? I found a solution, but that is print the repeater/gridview without customize the page.. What i need is print a page with customization. ![36e1d0310329124ba8fce2070ac095ff](/attachments/large/3/36e1d0310329124ba8fce2070ac095ff.jpg "36e1d0310329124ba8fce2070ac095ff") The Red Cross indicates to remove while in print preview. …

Member Avatar for gahhon
0
204
Member Avatar for anisha.silva

HI, I created an app to add a clinc details to the sqlite3 db from xcode. the code is below. The (sqlite3_step(statement1) == SQLITE_DONE) does not execute it. I dont get an error or anything. I can't figure out what exactly is wrong.Apprecite if someone can tell me what i …

Member Avatar for hericles
0
285
Member Avatar for tqmd1

Sir I have following codes <?php if(isset($_POST['button1'])) { $aa = $_POST['text1']; echo ("My name is " . $aa); } ?> <html> <head> <title>First form</title> </head> <body> <form name="aa" action="mix.php" method="POST"> Name<input type="text" name="text1" value=""> <input type="submit" value="display" name="button1"> </form> </body> </html> These codes work fine. I am beginner so I …

Member Avatar for diafol
0
127
Member Avatar for DM Galaxy

no idea on this, I just watch an article on this but it for C#. So I want to know How can I check the internet connection available or not? If Possible then please include the following points: ► Network Speed. (To determine the Speed Plan) ► Download Speed. (As …

Member Avatar for Deep Modi
0
856
Member Avatar for DM Galaxy

I am trying to create the application in which I can add the Data in this Manner: 1st column: Sr. No ; 2nd Column: Downloads Name ; 3rd Column: Download URL ; 4th Column: Uploader ; 5th Column: Date And then all the rows get startedarrange in this manner. I …

Member Avatar for DM Galaxy
0
229
Member Avatar for .............

My application requires a dialog box and a parent window, from the window proc of the parent window I'm trying to draw on the dialog box. How might I do this? Thank you for reading :)

Member Avatar for .............
0
555
Member Avatar for gahhon

ValidationExpression="^.*(?=.{7,})(?=.[a-zA-Z])(?=.*[\d])(?=.*[\W]).*$" This is the expression for the password, 1. At Least 7 2. Alphanumeric required 3. Special Characters But can i check the textbox must not be empty other than using RequireFieldValidator.. Due to i going to apply Ajax ValidatorCallOutExtender, is hardly to display both validator..

Member Avatar for gahhon
0
101
Member Avatar for Deep Modi

I want to create a Contact Info Application in vb.net now I am having with the trouble that how can I generate a new exe file from main file? I design the Form: label (1: 1stName 2:Last Name 3:nickname 4: emailid1 5:emailid2 6:skypeid 7:facebookid 8:contactno .... ... .. ) and …

Member Avatar for Deep Modi
0
180
Member Avatar for baldford

This code does not work properly. The code does execute but i am unable to see where the file should be uploaded to. I checked the default directory referenced by the php.ini file but to no avail. [code]<?php $to = "nextphaze@live.com"; $firstname = $_REQUEST['firstname'] ; $lastname = $_REQUEST['lastname'] ; $mobile …

Member Avatar for Baldford_1
0
267
Member Avatar for Trekker182

Hi everyone I had a few more quick questions...I'm trying to right the function that puts the correct letters in the right positons being reported from my previous compareletter function for my game of hang man and its not updating the word in progress array. Here's my function: //updates the …

Member Avatar for Trekker182
0
168
Member Avatar for johnrosswrock

Thank you all for helping me in completing my collage mini-project //form1 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using System.IO; using Microsoft.Office.Interop.Excel; using ClosedXML.Excel; namespace merge_excel { public partial class Form1 : Form { public Form1() { InitializeComponent(); …

Member Avatar for Warrens80
0
179
Member Avatar for paul.rothenberger

I'm running a search query that pulls the search string from one textbox then searches a listbox for the string and displays the results in a second listbox. I would like to define the number of items that it returns based on a second text box. So far I am …

Member Avatar for paul.rothenberger
0
194
Member Avatar for castajiz_2
Member Avatar for Curious Gorge

The title of this is slightly misleading but its also specific to what I'm asking. I've got a project which uses Ogre and CEGUI. I'm only trying to get CEGUI up and running. I don't know that much about compilers and IDE's but I can program and I also read …

Member Avatar for Curious Gorge
0
228
Member Avatar for erminasrcutp

Hi , How can I show CaseID once user has fill up the form . My database : CaseID , Name , Feedback The form will require user to enter name and feedback . After submit button is enter , the CaseID should be show to user . How can …

Member Avatar for Muhammad Anas
0
162
Member Avatar for Prithvi.R.K

case 3: Complement(a,m); that is the function call in main function void Complement(int a[10],int m) { int i,k; int c[20]={0,1,2,3,4,5,6,7,8,9}; for(i=0;i<=m;i++) { if(!a[] == c[]) { printf("\n%d",c[20]); } } }

Member Avatar for Prithvi.R.K
0
133
Member Avatar for can-mohan

Hi , I need to implement efficient search algoritham for comma separated list of MSISDN's that needs to be loaded in memory (left side of '|') character. Followed by the comma separated series of MSISDN's that needs to be searched in the above huge list(millions)(right side of '|' character). Example: …

Member Avatar for mike_2000_17
0
387

The End.