199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shekaranumalla
Member Avatar for student1t

Hi, I am trying to search for a word I have entered into a list. I could list all entries so far. But I am having a hard time figuring out a function that can search for a particular word on the list. Below are the codes. I commented out …

Member Avatar for student1t
0
80
Member Avatar for HITMANOF44th

hello out there i have a program i made to scan barcodes and reformat the data it gets from com2 now when the thing scanns theres a function called to a class but if there is no new data present it just sit's there waiting for new data ? and …

Member Avatar for HITMANOF44th
0
102
Member Avatar for bijayswain

How to use reg add function in c or c++ program I am using system("reg add .........."); but this gives me a error " program too big to fit in memory" what could be the problem. please suggest

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Son of a gun

Is it possible to simply check a java String argument is present and return a boolean true or return false if the argument is of a Null value?

Member Avatar for Son of a gun
0
122
Member Avatar for Nithya.S

Hi, I want keypress event sample code.. I have a textbox and I want only numbers to be allowed inside the textbox.. help me out plz..thanks in advance. I tried: Private Sub Text1_KeyPress(KeyAscii As Integer) If (58 > KeyAscii > 47) Then Else MsgBox "Enter only Numbers" Text1.Text = "" …

Member Avatar for selvaganapathy
0
214
Member Avatar for Agni

[code=c++] class A: public B { C* p1; C* p2; } [/code] What would be a correct assignment operator for class A? We have to ensure that we do not leave any object in an inconsistent state due to any exceptions or create any dangling references or memory leaks.

Member Avatar for Dave Sinkula
0
153
Member Avatar for Iam3R

Hi, i understand merge sort & quick sort even i can write the programs but iam unable to understand its complexity. its very easy to derive complexity equations for selection & bubble sort. as the code is little complex & recursive nature i am unable to understand its complexity and …

Member Avatar for Narue
0
127
Member Avatar for especta
Member Avatar for especta
0
105
Member Avatar for new programer

hello all I needed to cut a string at a certain point and swap the position of the pieces so I did the following functions [it does not work well] : [CODE]void findcutswitch(string unlock_w, char ring[][26]) { for(int i=0; i<3; i++) { for(int j=0; j<26; j++) { if(ring[i][j]==unlock_w[i]) { int …

Member Avatar for Excizted
0
144
Member Avatar for Leandro-AL

Hello, I am trying to store in an array the content of <tr> elements in a page. A sample of the page's code looks like this: [CODE]7E7"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td height=20 bgcolor="#FFFFFF"><b>asdsdsdf</b></i></td> <td bgcolor="#FFFFFF"><a href="./asdf.php?pid=10460">asdsdsdf</a></td> <td bgcolor="#FFFFFF">asdfasdf</td> <td align="center" bgcolor="#FFFFFF"> <img src="img/note.png"></td> <td align="center" bgcolor="#FFFFFF"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td …

Member Avatar for Leandro-AL
0
92
Member Avatar for rwagnes

I am supposed to create a chain of N processes, where N is the command line parameter. Each process creates a child process, prints out its own PID and its parent's PID, and then waits for its child to terminate by calling the wait() function. [B]Here is my code:[/B] [code=c] …

Member Avatar for shakunni
0
240
Member Avatar for Instinctlol

can anyone explain to me what return does? I know that return(0) stops the program at any given point, but what does returning others do?

Member Avatar for Narue
0
116
Member Avatar for bluem1

Ok, sorry to be so needy this week! Here is the situation. I have discovered how to do a linq query to get my data from my xml but when I return it as a string to a list box it is coming in as one large line. No breaks. …

Member Avatar for bluem1
0
135
Member Avatar for nschessnerd

Hey, I use openfiledialog to load a file as so: [code=cplusplus] OpenFileDialog^ ofd=gcnew OpenFileDialog; ofd->Filter="Monitor files (*.hmc)|*.hmc"; ofd->FileName="";if(ofd->ShowDialog()==System::Windows::Forms::DialogResult::OK){ loadFile(ofd->FileName); } [/code] when i initially run the program memory in task manager is about 10,000K. when this code runs it jumps to 17,000K and doesnt go back down. I tried using …

Member Avatar for Narue
0
138
Member Avatar for fadia

Question1: Modify your assignment-3, add separator mutator for each field and validate its value in mutators. The setTime validates time by using individual mutators of fields. Add no-argument constructor and three argument constructor. There argument constructor validates fields by using individual mutator of each field. Write new application to use …

Member Avatar for fadia
0
105
Member Avatar for whitestream6

This is my code: [CODE] <?php //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDREMOVED"); //select which database you want to edit mysql_select_db("tvguide"); //select the table $result = mysql_query("select * from epair LIMIT 20;"); //grab all the content while($r=mysql_fetch_array($result)) { //the format is $variable = …

Member Avatar for whitestream6
0
136
Member Avatar for ankiwalia

i have to generate filenames text file names as c:\\blabla.. saved(counter).txt the counter is an integer value i cant do it i cant generate filename like dat i declared a string c:\\blabla second counter third .txt now i have to concatenate all three in a string variable and this has …

Member Avatar for mrnutty
0
90
Member Avatar for JuvenileMango

How can I write a definition for a function that is passed a list of numbers and returns the sum of the numbers in that list using a while loop? I'm trying this, but it's not working def sumList(): num = [1,2,3] sum = 0 while num != str: for …

Member Avatar for JuvenileMango
0
92
Member Avatar for mashooka

I want to develop an HTML editor in vb.net for my B.C.A final project.Whether its worthy in this era and wil companies prefer these projects?

Member Avatar for mashooka
0
87
Member Avatar for lovesjavamuch

hi! i now implementing laptop playing guitar where my touchpad is to do strumming and keyboard keys is to change chords. when i pressed a key and moving the mouse cursor i can do the strumming, now my problem is when i released the key i still can do the …

Member Avatar for JasonDoyle
0
130
Member Avatar for zautashvili

Hi all, I'm trying to write query in MSSQL which will return a single value, but the problem is, I want to get the result by a position in results, e.g. [code=sql]SELECT [ID] FROM dbo.Users WHERE Status = 1[/code] -- and then some code to get let's say fifth record …

Member Avatar for sknake
0
154
Member Avatar for johndb

If I type [CODE]start microsoft word.exe[/CODE] or [CODE]start internet explorer.exe[/CODE] those programs won't start. If I type [CODE]start notepad.exe[/CODE] that program will start because I have the right name. Where would I find on my pc or on the web the correct terms / names to use when referring to …

Member Avatar for sknake
0
243
Member Avatar for anevins

I'm starting a main class but when i refer the name back to my other java class, it cannot find the constructor when it is clearly there, in the right file directory. I'll give you the code from my constructor and the code i'm using in the main class. Constructor …

Member Avatar for anevins
0
137
Member Avatar for nccsbim071

Hi i want to compress the file on the file during FTP file download. Is it possible to do that. I have an application that downloads the files from remote FTP server as windows forms application using VB.net Please help Thanks

Member Avatar for sknake
0
895
Member Avatar for princesspretear

hi all, i am currently writing a program as my school homework. it used to work and when i changed the column name in my database, it won't save data to the database. i am currently using sql server 2005 and visual studio 2008 and c# language. here is my …

Member Avatar for sknake
0
212
Member Avatar for jianina07

sorry for this interruption.. May i ask you sir about our project.? It is a round medicine organizer that will alarm at a specified time that the user set. It's like a pizza pie that has 7 pies (compartment of the medicine). This what we want to happen. When the …

Member Avatar for jianina07
0
200
Member Avatar for JhonRR

Hello Everyone, i'm new to assembly language programing i would like to write a program that will print prompts to enter two values and a code #. If the code # is 1, output the greater of the values.... otherwise it should output the lesser here is what i have: …

Member Avatar for jianina07
0
201
Member Avatar for misstrouble

How do I assign a macro for a selected check box in one worksheet and copy the entire row onto another worksheet? What should I do if I have selected some rows and I want all of those selected in the check box appear on the new worksheet? Anybody out …

Member Avatar for misstrouble
0
175
Member Avatar for JasonDoyle

Is it possible to have AVI's play in Java Applets at specific times, eg: when a button is pushed?

Member Avatar for JasonDoyle
0
87
Member Avatar for saintrenz

I need Help! Consider this following modified version of the binary search algorithm. (Modifications are indicated by a comment highlighted asterisks.) With this new version of the binary search algorithmn work correctly for all data? If not, specify a situiation in which this version will fail. [code]template<class element, class Keytype> …

Member Avatar for saintrenz
0
105
Member Avatar for pith

Hello, I need help with editing this program: [code]#!/usr/bin/env python """ Monte Carlo simulation for the Monty Hall Problem: http://en.wikipedia.org/wiki/Monty_Hall_problem. """ import sys from random import randrange, shuffle, choice DOORS = ['car', 'goat', 'goat'] def pick_door(): """Return a number representing the player's first choice.""" return randrange(3) def reveal_door(pick): """Return the …

Member Avatar for pith
0
133
Member Avatar for rss

I have set-up a deployment project to install C# application. Everything works fine, except I have to go add-remove programs to uninstall the program. How can I add an uninstall for the application.

Member Avatar for Geekitygeek
0
148
Member Avatar for Camzie

Hi there I need help!!!! How do you read and write from an .ini file by using java sockets????

Member Avatar for Camzie
0
77
Member Avatar for Clawsy

Hello, In my application I transfer a lot of images from server to client. The problem is the size of the image, so I tried to encode it using [URL="http://objectplanet.com/pngencoder/"]this encoder[/URL] - objectplanet png encoder. The problem is nothing seems to happen, image size is the same. [CODE] //img is …

Member Avatar for Clawsy
0
227
Member Avatar for iketunde

hello, i need to add a chat room to my website. does anyone recommended any free chat room i can add to mywebsite?

Member Avatar for ~*TANWEER*~
0
501
Member Avatar for snehapatil

Hello to all, I am creating one java applet in which i have to use many JButtons. So i used an array of J Button. Now my program is able to create buttons but it is not able to use ActionListener or ActionCommand.... I am sending a part of code …

Member Avatar for musthafa.aj
0
177
Member Avatar for kanuri1

hi frnnds, iam raghuram, i had got a problem .when iam inserting the values in database ,it will not inserted. i had done the coding ,but it doesn't show any mistakes. while inserting the data it will show error on insert.executenonquery() and the error is "String or binary data would …

Member Avatar for Ramesh S
0
128
Member Avatar for s8498

Hey everyone, I'm new to posting in these forums so sorry if I didn't post my code correctly? I think i did it...hopefully. Anyways, I've been working on this all day but I can't figure it out. (i think i will be having problems with the rest of my assignments …

Member Avatar for UberJoker
0
2K
Member Avatar for nedsnurb

hi, the following program has got to take a user inputted string and allows the user to see the postion of each character in the array i.e. T H I S I S A T E S T 0 1 2 3 4 5 6 7 8 9 10 11 …

Member Avatar for UberJoker
0
109
Member Avatar for Shaikh Mohsin

Hello Friends, I want to writ a program which scan network for Operating system at boot time.plz if any known how to start writing that program in c.reference plz Thank u all

Member Avatar for Seten
0
171
Member Avatar for TheStig01

Hi all, Last night i started coding a database with java. The way i was going to do it was through netbeans with a database connection to an sql database. Then i went to school and told my teacher how i was going to do it and he told me …

Member Avatar for TheStig01
0
952
Member Avatar for izzy234

Hi, I'm having some difficultly figuring out how to put a value to my combobox items. For example I have 3 states listed in the combobox. [code=java]String[] stateStrings = {"Michigan", "Wisconsin", "Illinois"}; JComboBox jComboBox = new JComboBox (stateStrings); jComboBox.setSelectedIndex(2); jPanel3.add(jComboBox);[/code] I need to put different yearly interest rates or APR …

Member Avatar for javaAddict
0
139
Member Avatar for helpwithjava88

hi. I need java for an online game, runescape. I go to the java site and get to the downloads page, but as soon as I click the yellow download button and decide wherer to save the file and click ok, I get a message saying my connection, compuserve, has …

Member Avatar for javaAddict
0
214
Member Avatar for supuser

Undefined Variable record: (in a path)/filename.php $sql= "select * from demo table"; $handler=mysql_query($sql); while($data=mysql_fetch_assoc($handler)){ $record[]=$data } <?php for($i=0;$i<count($record);$i++) ?>

Member Avatar for rajabhaskar525
0
80
Member Avatar for mbirame

Hi folks, I have been trying to figure this out for the last few days, and it's really getting me nowhere. I'm pretty new to PHP and really new to cURL. I'm trying to connect to my [URL="http://highrisehq.com/"]highrise[/URL] account via their [URL="http://developer.37signals.com/highrise/"]API[/URL] I'm trying to implement this through php. Browsing …

Member Avatar for pritaeas
0
100
Member Avatar for EngneerNitemare

Hey all, I am having a little bit of trouble wrapping this segment up. I need a for loop that will wrap a 3 digit number (i.e. 320) vertically so that it displays like below. 3 2 0 instead of... 320 Here is the code I have already: [CODE]#include<iostream> #include<fstream> …

Member Avatar for EngneerNitemare
0
2K
Member Avatar for Peran

Anyone here using Visual Studio 2008 to edit Javascript files? Wheneven I try to edit a .JS file (regardless of whether I've created it inside VS2008 or imported it), I get the tab with the file name, but the content doesn't update. I just see the contents of the previous …

Member Avatar for Peran
0
142
Member Avatar for praveen_dusari

hi all, how to destroy sessions when user once closes browser without logout, i mean when i logged in and close my browser again when i open browser i keep getting as login so, i want to destroy session upon clossing browser i want this without changing my php settings …

Member Avatar for quadrant
0
216
Member Avatar for NicAx64

hi all, I get a compile time error when I tried to assign A* to A[]. I get the error in DEV C++ , mingw ,error "incompatible type assignment" should I have to use dirty pointers for this ? [code=cplusplus] #include <iostream> class A { public: int a ; int …

Member Avatar for NicAx64
0
151

The End.