199,113 Archived Topics
Remove Filter ![]() | |
Hi All. I am using a GridView to List contacts linked to a logged in User. I can successfully bind the Gridview with a DataTable. And the values in the GridView are correctly displayed. I have a BoundField at Index 0 of the GridView which pulls a value from a … | |
hi, I created a GUI using vc++ (without mfc). now I am told it needs to be used through a web browser, but I don't know how to do it. I have been told that one solution is turning it into an activeX control, but I have no knowledge of … | |
Hi, Got a bit of a problem with form, i need to be able to update a number in a mysql database using an html form. so basically i need to increment or decrement a number using a text box and a submit button. heres the code i got: ============================================== … | |
virtual void drive() = 0 What this means? void means no return value. drive() is a function but what virtual means? and why it asigns a value of 0 to a function?How can a function have value of 0 ? Thank you | |
Hi All, I need to parse CSV file header in order to know the Fields present in the CSV file How can i do this in php, Pls help me Thnx in advance Thnx & Regards, mithesh | |
Hihi.. I would like to ask about ::FindWindow's function.. I execute a program call ABC.exe.. I have coding like below.. HWND window = ::FindWindow("ABC", NULL); but I get the window value is NULL.. may I know what is my mistake..?? I had execute the ABC program, suspose it can return … | |
Hey I am trying to create a assembly program to do CRC. So it accepts user input, runs it threw CRC and give it back. Can anyone give me any hints on how to do this in ASM | |
Hi all I want to access hidden values by javascript what's wrong on bellow code: <html> <head> <script language="javascript"> function func(i) { var x=document.form1.array[i].value; alert(x); } </script> </head> <body> <form method=post name=form1> <?php for($i=1;$i<100;$i++) { echo "<input type=hidden name=array[$i] value=$i>"; echo "<input type=button onclick=func($i) value=$i>"; } ?> </form> </body> </html> | |
HI all I am new to C # and have picked up a copy of Sams teach yourself c # in 21 days. I hold a BSc in software design so I am not new to programming. However I am surprised at how similar c # is to java ( … | |
Hi Experts, Please share your thoughts, it was asked to me in a job interview, I said I would remove "multiple inheritance" , but I was not prepared for the interview question. Your ideas please. | |
Can anyone help me to do this if a jTextField has text like this 1A2B89C0 array[0]=1; array[1]=10;//A should convert to 10 ,B to 11,c to 12,........ array[2]=2; array[3]=11;//B to 11 array[4]=8; array[5]=9; array[6]=12;//C to 12 array[7]=0; actualy this part is needed for a program which is convert a number in … | |
hi how to polute my drop down using the database content........... | |
Hello, I am trying pull data from a 2-dimensional array but am getting an error like: [QUOTE] Microsoft VBScript runtime error '800a0009' Subscript out of range: '1' /test.asp, line 39 [/QUOTE] the message gives the line number but i don't see whaats wrong with it this is a simplified version … | |
I need help with beginning code to simple game of hangman in C++ Don't know where to start and it is due in six hours. | |
word.doc attached. please tell me if it isn't attached thanks | |
what is ment by make file ,what is it used for ,is it a development tool? | |
I've been working on a project for a few days now, and I am running out of time by trying to research everything I am doing. My task for this particular program is to create an inventory program that reads from a file and then allows the user to manipulate … | |
how do i check if a value is in my table? like this: INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....) and check if those values are in the table. | |
I came to a point in my C++ book where I have to start using bitwise operators, such as &, ^, and |. I have a hard time grasping the concept of exactly how do I manipulate bits, the following example supposedly "turns off the 6th bit", therefore inverting the … | |
Ok. Newbie poster/programmer so bear with me. I created a beginner math program that should be usable by young children. I have it working for the most part but now there are three things I would like to do to make the program more professional. First, I would now like … | |
Hi to all, I woud like to know how to destroy only a child window?I am Using Dev-C++ WIN32 Thank you for reading.What message to do i need? | |
Really having trouble with UI design using AJAX and Web Dev Express 2005. Designing systems for 25 years and finding the latest and greatest the biggest pain in the ass to figure out since JCL. Anyway: I have been trying to put controls such as the Gridview into a <DIV> … | |
Hi, I want to count the number of characters of a string. Try to do it as follows. [CODE=cplusplus] int iSpace = 0; int iLength; string strTemp("This is a line of text"); iLength = strTemp.length(); cout << iLength << endl; for(int i = 0; i < iLength; i++) { if((strTemp.at(i) … | |
Hi, I use wampserver (or vertrogo serv) and installed in c:\wamp. I have a file called test.php in c:\wamp\www\test.php. When type [url]http://localhost[/url] into browser, it asks me password and username. I cant just pass that. Therefore, i cant use anything. Where this password and username thing come from? I didn't … | |
Hello, I've read in a book that APIs in the native APIs start with one of the two prefixes: Either Nt or Zw, so that the functions have names like NtCreateFile or ZwCreateFile. What does Zw stand for? It further says: [I]Both versions actually point to the same code in … | |
Hi i have a problem i can't see my menu. So thanks for reading. It is not finished but the compiler done it . So i wana test drive before complite it. File name Test1.cpp [code=C++] #include "resource.h" #include <windows.h> #include <winuser.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure … | |
![]() | [code]<title>plastic sarcastic</title> <?php include "header.html"; ?> hey whats up?<br><br> <?php $sql=mysql_query("SELECT * FROM bands); while($rows=mysql_fetch_array($sql)) { ?> <form action="band.php?band=<?php echo $rows[name]; ?>"> <input type="submit" value="<?php echo $rows[name]; ?>" style="background: black; color: 660099; font-size: 1.2em; border: 0px"></form> <?php } ?>[/code] ^^^That's my code. I was wondering why I get errors. It … ![]() |
I am trying to update 64 bit displays in a For Next Loop. I can pass One Object successfully but can't iterate through a collection in order. Shouldn't GetNextControl do this? It Retrieves the next control forward or back in the tab order of child controls. Is there a Better … | |
So after putting together this program, I am trying to sort multiple words alphabetically using [TEX]qsort ()[/TEX]. I have been using examples of [TEX]qsort ()[/TEX] found on the web and trying to adapt them to my cause, but all I've done so far is confuse myself. There are no errors, … | |
Hi all, I have got the problems to sense the mouse's movement in VB 6.0. How should I solve it? At first, I use Form_MouseMove function, but the movement will not be detected while the mouse pointer gets out of form. If so, I can't use it. I know the … | |
Hello Seasoning Greating! Hello to you all i am a student in a college and we are in a group we are giving the task to choice a project topic to write on VB and the project should be related to what is in our environment such as! 1) sending … | |
When I execute this code ,it accepts 2 nos,prints the msg enter your choice and terminates.. [code=c] #include<stdio.h> int main() { char ch; int a,b; printf("enter 2 nos :"); scanf("%d %d",&a,&b); printf("\nenter your choice:"); ch=getchar(); printf("%c",ch); switch(ch) { case '1': printf("sum : %f",a+b); break; case '2': printf("diff : %f",a-b); break; … | |
I'm having a good deal of trouble figuring out how to sum the values of a list until they reach a specified goal. This is a H.W. assignment and it is as follows: "Define a Python function threshold(dailyGains, goal) that behaves as follows. The first parameter is a list of … | |
is it possible to create a looping list? [code]import time # a day value of None = > def dayOfWeek(DayNum = None): # match day order to Python return values days = ['Monday','Tuesday', 'Wednesday','Thursday', 'Friday','Saturday','Sunday'] theTime = time.localtime(time.time()) # Check for default value if DayNum == None: Day = theTime[6] … | |
Hi to all. Can i make a Window,who have a power to be always active but invisible for me?How? | |
Hi Friend's... I can't make this program...Plz help me to make this program.. Make a Driver class TUNES.In this class Creates a CD Collection Object and adds some CD's to it Prints reports on the status of the collection.and then make a class CDCollection and write a constructor that creates … | |
Hey guys, I don't understand the for loop. Could someone explain it to me? for example [code] >>> # Measure some strings: ... a = ['cat', 'window', 'defenestrate'] >>> for x in a: ... print x, len(x) ... cat 3 window 6 defenestrate 12 [/code] what is x? how does … | |
I have tried to assemble the following code in TASM and Flat Assembler, but they both give an error for every line of code. What is going on? How can I get the assemblers to assemble the * code?? Thanks for any help you can provide. [code] [BITS 16] [ORG … | |
hi friends I am using IIS server to compile the php file. I have create the two virtual directiory for run two different projects. but one send the mil properly,another one project not send the mail. please advise How to solve the issue | |
Please I'm new to this forum and I need a help with my code.I have written it all and compiled but it doesnt seem to bring any output(I'm reading the input from a file on my system).Please bail me out, I need to turn it in soonest [code=cplusplus] #include<iostream> #include<fstream> … | |
I read the message from the queen of the daniweb about surrounding the code with code tags, but I did not understand the message at all. I will enclose this code, and resend it, if necessary if some would explain the "[code]" "[/code]" tag dodad. Basically i have a record … | |
So I've got "m_starts" as a pointer to an int (int * m_starts;). And a const char * of "m_str". m_str = "bad,cold,new". How can I allocate "m_starts" to store the starting index of each word in m_str??? For loop? | |
Its pretty rare for me to post questions here but I came across this one about qsort I can't answer. If I try to sort an array of character strings such as [icode]char array[255][20][/icode] qsort works ok as expected. But if I declare the array like this qsort fails: [icode]char*array[255][/icode] … | |
I quickly made this program in DEV C++ and have a few errors, heres a little background info on the program, there is a program at my school that allows the teachers to spy and take over your computer whenever so I did a little snooping and found that the … | |
[I]<< split from the "[URL="http://www.daniweb.com/forums/thread66649.html"]removing the null terminator at the end of string[/URL]" thread >>[/I] But, Lets say what you have stored in your buffer is the contents of your file that you've open,. How do you get all the content of that file into your string without it stopping … | |
Basically i have a VB6 project where i have a web browser on my form. I have a listbox and command buttons. What i have so far is when you click one of the command buttons, it opens a text file that is on your desktop. That text file contains … | |
I've a table named [transaction] [B]idtransaction [/B] is my primary key ---------------- [transaction] ------------------------- idtransaction | customerID | amount | transDate [B]Amount[/B] is the credit or debit / they differ when amount < 0 it is credit and when amount > 0 it's debit Sample Data idtransaction | customerID | … | |
Hi, I want to write a program to split one file into multiple files. At any line that contains: "# Name:" i start writing to a new file. My problem is that i want to save each file with a name i extract from the same line. Example: # Name: … | |
I am trying my first encryption program and I want to convert the letters to numbers then do an equation to change the numbers. Then when the encryption is done it should be a bunch of random numbers then the decryption should come back to normal (what the user input … | |
Hello, I was trying to work a problem from the book and decided to compile and run sample code that is already supposed to work. The problem is it doesn't. The concept of breaking these files up is new to me. Can someone please let me know what to do? … |
The End.