199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 | |
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? | |
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 = "" … | |
[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. | |
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 … | |
Hi haw to count found maches in memo and show in tedit thanks. | |
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 … | |
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 … | |
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] … | |
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? | |
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. … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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: … | |
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 … | |
Is it possible to have AVI's play in Java Applets at specific times, eg: when a button is pushed? | |
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> … | |
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 … | |
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. | |
Hi there I need help!!!! How do you read and write from an .ini file by using java sockets???? | |
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 … | |
hello, i need to add a chat room to my website. does anyone recommended any free chat room i can add to mywebsite? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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++) ?> | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … |
The End.