199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for desi_developer

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 …

Member Avatar for Jugortha
0
96
Member Avatar for gabs

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 …

Member Avatar for ShawnCplus
0
83
Member Avatar for djcritch

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: ============================================== …

Member Avatar for nav33n
0
751
Member Avatar for yangchen60

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

Member Avatar for dubeyprateek
0
76
Member Avatar for mithesh

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

Member Avatar for nav33n
0
105
Member Avatar for shizu

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 …

Member Avatar for dubeyprateek
0
326
Member Avatar for tifka

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

Member Avatar for tifka
0
90
Member Avatar for dks1383

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>

Member Avatar for scru
0
165
Member Avatar for majestic0110

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 ( …

Member Avatar for majestic0110
0
142
Member Avatar for ithelp

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.

Member Avatar for Salem
0
116
Member Avatar for aan@ucsc

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 …

Member Avatar for aan@ucsc
0
98
Member Avatar for lydia21
Member Avatar for lydia21
0
138
Member Avatar for minbor

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 …

Member Avatar for minbor
0
112
Member Avatar for evilseed187

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.

Member Avatar for Salem
0
122
Member Avatar for ceyesuma
Member Avatar for ceyesuma
0
101
Member Avatar for Jicky
Member Avatar for jaepi
0
75
Member Avatar for picklesandmayo

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 …

Member Avatar for picklesandmayo
0
2K
Member Avatar for kishou

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.

Member Avatar for nav33n
0
147
Member Avatar for people123

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 …

Member Avatar for people123
0
139
Member Avatar for Roadphantom13

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 …

Member Avatar for jrcagle
0
115
Member Avatar for kv79

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?

Member Avatar for Ancient Dragon
0
114
Member Avatar for ljf118

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> …

Member Avatar for alc6379
0
94
Member Avatar for eranga262154

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) …

Member Avatar for eranga262154
0
159
Member Avatar for Fenerbahce

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 …

Member Avatar for Barefootsanders
0
233
Member Avatar for Jishnu

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 …

Member Avatar for Jishnu
0
142
Member Avatar for kv79

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 …

Member Avatar for kv79
0
114
Member Avatar for tie372

[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 …

Member Avatar for tie372
0
84
Member Avatar for latitude7ds

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 …

Member Avatar for latitude7ds
0
90
Member Avatar for picklesandmayo

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, …

Member Avatar for picklesandmayo
0
126
Member Avatar for zawpai

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 …

Member Avatar for zawpai
0
2K
Member Avatar for atplerry

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 …

Member Avatar for atplerry
0
130
Member Avatar for varsha0702

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; …

Member Avatar for Beair.GQ
0
134
Member Avatar for Bezukhof

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 …

Member Avatar for woooee
0
133
Member Avatar for jem00

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] …

Member Avatar for jem00
0
77
Member Avatar for kv79

Hi to all. Can i make a Window,who have a power to be always active but invisible for me?How?

Member Avatar for kv79
0
84
Member Avatar for mtbutt

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 …

Member Avatar for jasimp
0
138
Member Avatar for jem00

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 …

Member Avatar for jem00
0
121
Member Avatar for Queatrix

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 …

Member Avatar for Queatrix
0
137
Member Avatar for vssp

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

Member Avatar for gym_shorts
0
98
Member Avatar for seyetotto

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> …

Member Avatar for vmanes
0
113
Member Avatar for tomoconnell

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 …

Member Avatar for tomoconnell
0
401
Member Avatar for balla4eva33

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?

Member Avatar for Ancient Dragon
0
110
Member Avatar for Ancient Dragon

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] …

Member Avatar for Ancient Dragon
0
313
Member Avatar for nugget93

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 …

Member Avatar for Ancient Dragon
0
97
Member Avatar for Bamirasta

[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 …

Member Avatar for Narue
0
91
Member Avatar for Sprinkles

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 …

Member Avatar for Sprinkles
0
78
Member Avatar for itanacious

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 | …

Member Avatar for itanacious
0
82
Member Avatar for mjoshi

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: …

Member Avatar for Narue
0
139
Member Avatar for np2100

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 …

Member Avatar for np2100
0
128
Member Avatar for eesti44

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? …

Member Avatar for eesti44
0
155

The End.