199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gopi17

Hello there.....i just learnt how to use the the oleDb commands to insert into the a database i created from vb.net,but the problem is.....i cannot insert anythin else than OleDbType.VarChar or i dunno how to insert anything else this is my code......i need help to insert the value of my …

Member Avatar for Elmo_loves_you
0
247
Member Avatar for Eswar.P

How can i set screen height based on resolution ? and i have a gridview in my page.when screen height is 768 page size of gridview is 7. screen height is 864 page size of gridview is 10. screen height is 960 page size of gridview is 11. screen height …

Member Avatar for Teme64
0
100
Member Avatar for monkey_king

Hi, I've been implementing my own array class, and I've finally started to use it. I do have one question, [CODE=c++] Array<int> ary1(3);ary1(0)=2;ary1(1)=4;ary1(2)=7; //just an array Array<int> ary2(3);ary2(0)=1;ary2(1)=2;ary2(2)=6; //just an array cout << ary1; cout << ary2; Array<int> ary3 = ary1+ary2; cout << ary3; //everything till this point works //is …

Member Avatar for dougy83
0
93
Member Avatar for Kelly4270

I have a background that has the hover capability, but I want to get rid of the hover and make it one color. I know a little bit about this, but not enough to fool around with it too much. Can anyone help me? Thanks!

Member Avatar for Phaelax
0
81
Member Avatar for EDDYGATE

I have written a browser in java but it is only able to display saved web pages on my computer or html files created by me. It is not able to display a page when i type any URL in the address bar. Please help me Here is the code …

Member Avatar for Phaelax
0
103
Member Avatar for AutoC

Hi, Lets assume my preorder traversal gives me a unique tree.How do I get the tree from the preorder traversal? Any help is appreciated

Member Avatar for Alex Edwards
0
135
Member Avatar for sInFuL69er

Hi everyone, I got a small problem with my JList with MULTIPLE INTERVAL SELECTION. When i click on a item it adds the price to the total and when i ctrl+click another item it again adds the price to the total Then problem is when i deselect one of the …

Member Avatar for Phaelax
0
142
Member Avatar for jyotiu

Hi all, I have a html file, i need to extract name , address and phone no. from it. now name is in <span class="name"></span> add is in <span class="list_address"></span> phone is in <span style="display:none" ID="phoneVal11"></span> I have used following code for getting name,add and phone: [code] <?php function get_name($file){ …

Member Avatar for KevinADC
0
156
Member Avatar for hervens

Hello I was wandering if anyone knows any good hardware programming tutorials, or books in c++ I'm not a c++ expert, but i feel very comfortable with the language, and read Sam's teach yourself c++ in 24 hours. What i basically want to do, is interresting stuff like, controlling an …

Member Avatar for dougy83
0
350
Member Avatar for tanha

Hi. I am using windows, and NetBeans version 6.1 I create a JSP project: and then I create an index.jsp in web folder and then I created a LoginAuthentication class in a package named connection. BUT I dont know why when I click the singin button of the index.jsp, an …

Member Avatar for Ravindra_Nikam
0
121
Member Avatar for mattyb15

Okay. I'm a php newbie. I have a form where the user enters their name. I then on the next form I want it to access the database and add 1 to the row named 'number' that matches the persons name that they previously entered. If the name does not …

Member Avatar for Shanti C
0
243
Member Avatar for Gowthamseeda

I have a problem in Java script when inputting data in html table via selecting from combo box.So any one can solve my problem,please send me code in Java script for restrict repeated data when the period of input. Thank u

Member Avatar for Gowthamseeda
0
102
Member Avatar for R3B3L

[B]TEXT file csvSTOCKS.TXT contains the following:[/B] Stock 1,200,300,200,200 Stock 2,200,300,200,200 Stock 3,200,300,200,200 Stock 4,200,300,200,200 Stock 5,200,300,200,200 [B]I'm attempting to read each line in the text file and put it in the array of strings lines()[/B] [code=vb] Dim sr As StreamReader = New StreamReader("csvSTOCKS.TXT") Dim lines() As String Do While (sr.Peek …

Member Avatar for waynespangler
0
1K
Member Avatar for cutedipti

H! plz solve a problem..............! See I want to take continuous four input from the user, out of which three are character type and one is of int type. So my problem actually is that, it accepts only three input i.e. 2 char and one int & for remaining char …

Member Avatar for cutedipti
0
111
Member Avatar for bamabambhole01

Hii, C++ is new for me. I have two problem A and B , I need solution of A in B and B in A . I made a pointer in A to copy solution of B but when I am doing same for B to A , it is …

Member Avatar for bamabambhole01
0
94
Member Avatar for asifjavaid

Hi fellows, How can I set a value of any type in VARIANT const pointer? I am tried my best but vain. I am facing compile time error. Here is sample code [CODE]VARIANT *v=NULL; v->bstrVal = "Video.Bin"; another try VARIANT *pValue; //BSTR *fileName; const char* pName; pName = "Video.bin"; pValue …

Member Avatar for asifjavaid
0
2K
Member Avatar for nikesh.yadav

take a look on image this is image u can find in every daniweb member's profile now i want the code to create this image can anybody have. thank in advance

Member Avatar for nikesh.yadav
0
153
Member Avatar for NinjaLink

I have to write a program that will read a file that lists the scores for two teams. 1st 2nd 3rd 4th Visitors 17 18 21 20 Final Score: 76 Home 21 22 24 16 Final Score: 83 Input file will look like: 17 18 21 20 21 22 24 …

Member Avatar for vmanes
0
1K
Member Avatar for VbRider

hi 2 all.... i have a problem with my databind.it always view the wrong data. e.g. := webform1 --view customer details-- when i want to view customer details no1, all my text boxes always shows the other customer details..why is that??plzzzzz help...

Member Avatar for VbRider
0
69
Member Avatar for iamthwee
Member Avatar for swbuko

I've got 5 arrays each with one number in them, but in order to sort them using the insertion method, I need to combine them into a single array. How do I do this? This is the last part of my program and can't figure it out!

Member Avatar for VernonDozier
0
112
Member Avatar for predator78

[COLOR="Green"]Hello all, I'm new to the forum and also to python :D. Anyway I have been enjoying it quite a bit and wanted to start into something a bit more technical. So I though sockets would be a good start. I found a great sight , but the first script …

Member Avatar for predator78
0
146
Member Avatar for JustLearning

This is the header file provided by my instructor. [code] // // unsortedlist.h // #ifndef UNSORTED_LIST_H #define UNSORTED_LIST_H struct UnsortedListNode // Description of list node { char ch; // Stores one character input from file UnsortedListNode* nextPtr; // Stores address of next node }; class UnsortedList // Linked list implementation …

Member Avatar for Ancient Dragon
0
182
Member Avatar for dimega

Hi there, How would I go about setting a date/time to 0? Basically I want the time to be 00:00:00 so that when I use the addseconds function of say 120 seconds it reads 00:02:00 Any help would be much appreciated.

Member Avatar for selvaganapathy
0
91
Member Avatar for balakrishnan.kb

what is the difference between virutual keyword in c++ and final in java

Member Avatar for Alex Edwards
0
108
Member Avatar for rockbd

hello!! i am a new programmer!! i started with turbo c 4.5. just installed borland Turbo c++. the used same codes as 4.5 but got problem with output screen. i cant see the programs output screen after the program ends!! can anybody tell me how to active it?

Member Avatar for obj7777
0
155
Member Avatar for zwench

This is what it is supposed to do. If this helps. This file should read the records from the Graduate file first, in sequential order as the “View Student” button is pressed. When the program reaches the end of the Graduate Students records, it should modify the JFrame to display …

Member Avatar for zwench
0
179
Member Avatar for Will67

Hello i am a bit new in C++. i started to take C++ 4 days ago hehe and honestly i love it. now im trying to do is a 3x3 determinant and it is giving me a small problem i tried to find this. 1 2 3 4 5 6 …

Member Avatar for Will67
0
744
Member Avatar for NLCGraphics

Hello again, I'm having a problem and don't know what is causing it. I'm copying from a book. double checked and can't figure out why I'd be getting this error (below in quotes) Link to live view of what is being accomplished (trying to be accomplished) [URL="http://skywardz.com/address_book/addEntry.php"]http://skywardz.com/address_book/addEntry.php[/URL] LINE 87 : …

Member Avatar for NLCGraphics
0
578
Member Avatar for stormtr00per

I'm trying to write a program that will simply move a file from "FILENAME.TXT" to "CURRENTDATE-CURRENTTIME-FILENAME.txt" and am having problems. The error I'm getting is cannot convert from char to char[] Here is my simple code: [code] private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { time_t now; char the_date[12]; the_date[0] = …

Member Avatar for Ancient Dragon
0
122
Member Avatar for monkey_king

Hi I'm doing a templated matrix class, and I'd like to be able to pass a function pointer to a function that uses the rows. [CODE=c++] template<typename T> T sum(Array<T> &a){ // a simple function that return the sum of an Array T res=0; for(int i=0;i<a.length();i++) res+=a(i); return res; } …

Member Avatar for monkey_king
0
8K
Member Avatar for Stefano Mtangoo

I want to subclass My App and I hit the wall. If I don't subclass it works! WHAT IS WRONG HERE???? [ICODE] import wx ID_NEW = 10 ID_OPEN = 11 ID_CLOSE = 12 ID_SAVE = 13 ID_SAVE_AS = 14 ID_PAGE_SETUP = 15 ID_PRINT_PREVIEW = 16 ID_PRINT = 17 ID_EXIT = …

Member Avatar for vegaseat
0
113
Member Avatar for qwix123

Hello, this is my XML: [CODE] <OPTIONS> <ROW NUM="1"> <ROW_NUM>1</ROW_NUM> <INVOICE_NUMBER>000001</INVOICE_NUMBER> <ID>144795</ID> <CUS_UK>20544</CUS_UK> <DESC_LONG>KELEME</DESC_LONG> </ROW> <ROW NUM="2"> <ROW_NUM>1</ROW_NUM> <INVOICE_NUMBER>000001</INVOICE_NUMBER> <ID>69449</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> <ROW NUM="3"> <ROW_NUM>1</ROW_NUM> <INVOICE_NUMBER>000001</INVOICE_NUMBER> <ID>4125</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> <ROW NUM="4"> <ROW_NUM>3</ROW_NUM> <INVOICE_NUMBER>000002</INVOICE_NUMBER> <ID>4152</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> <ROW NUM="5"> <ROW_NUM>3</ROW_NUM> <INVOICE_NUMBER>000002</INVOICE_NUMBER> <ID>69486</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> </OPTIONS> [/CODE] What …

Member Avatar for gravyboat
0
123
Member Avatar for vuyiswamb

Good evening Everyone My VS is behaving n an unnormal way. I have 9 Project in a Solution and i have set one of the Projects as a Startup Project and created a Setup project, after i Built it to create an exe, The Project that gets Started is not …

Member Avatar for vuyiswamb
0
98
Member Avatar for Nefer

Hello, I am quite new with XSLT and I need to convert this xml: <?xml version="1.0" standalone="yes"?> <assesmentItem> <choiceInteraction responseIdentifier="correctresponse" title="title" discipline="discipline1" dificulty="dificulty1" timexpected="20" basetype="choice" cardinality="single"> <prompt>answer1</prompt> <simplechoice0 >response0</simplechoice0> <simplechoice1 >response1</simplechoice1> <simplechoice2>response2</simplechoice2> </choiceInteraction> </assesmentItem> into this one: <?xml version="1.0" standalone="yes"?> <assesmentItem> <choiceInteraction responseIdentifier="correctresponse" title="title" discipline="discipline1" dificulty="dificulty1" timexpected="20" basetype="choice" cardinality="single"> <prompt>answer1</prompt> …

Member Avatar for gravyboat
0
148
Member Avatar for JoBe

Hi all, I have a class which contains a struct that holds some variables, string, int's. Now, one of the variables (string) in the struct is used to compare it with a name, if the name is in the struct, it has to be [COLOR="Red"]returned from my function [/COLOR]with it's …

Member Avatar for JoBe
0
140
Member Avatar for leegeorg07

hi again i thought of a program simply to use to save time in checking my emails by somehow connecting to my login and downloading all the emails. this could later be expanded into using multiple accounts. can anyone give me a nudge in the right direction to start this?

Member Avatar for leegeorg07
0
105
Member Avatar for ocbphoto

Hi guys, Probably this is something really over discuss but would you be so kind to teach me. I want to store prices on MySQL table, i currently have my Data Type as FLOAT with my prices on the table but it renders only the same number, what is the …

Member Avatar for ocbphoto
0
113
Member Avatar for melissajohn718

Write, compile and run a C++ program named that reads in one integer that represents a total number of hours and then displays the equivalent number of weeks, days and hours, all properly labeled. Have your program only do the calculation if the user enters a number less than 30,000 …

Member Avatar for Narue
0
182
Member Avatar for Duki

We're trying to get our C# program to work on linux. We just loaded into Mono, and it compiles fine but the form doesn't appear. Anyone know what? Does it have something to do with it being a "windows form"?

Member Avatar for Duki
0
165
Member Avatar for jamello

Hello experts!! I have this challenge. I need to display a popup window with some controls on the clicking of a button on a page. Thereafter the contents of these controls (textboxes) on the popup window are to be transfered into a gridview on the parent form. Current status: I …

Member Avatar for jamello
0
144
Member Avatar for veledrom

Hi, I have a cookie with 5 products. There will be a loop to read one by one and reduce from stock in database for each product. Now, If something goes wrong half way through i want to cancel whole transaction. For example; everything went ok for first 3 products …

Member Avatar for veledrom
0
145
Member Avatar for moshe12007

sorry about my english i make a game and i need to use on interrupt i/o(input), someone can to help me?? the code is : [ICODE] cout<<"Enter num : "; for(i=1; i<=100000000; i++){//its loop time // here the interrupt // when the user click some key its //stop the loop …

Member Avatar for Salem
0
178
Member Avatar for daniel50096230

Hi,I had created a Combobox called cboStart at the GUI form...Now I would like to add the integer of 1 to 12 into the combobox,may I know how can I do it?

Member Avatar for javaAddict
0
156
Member Avatar for Jennifer84

For the code below I Select an area in a textBox that I will Mark Red. I will also change the Fontsize to [B]16 [/B]and make the selected text [B]Bold[/B] but are not sure what calls that is used for this. [code] this->richTextBox1->Select( 0, 10 ); this->richTextBox1->SelectionColor = Color::Red; [/code]

Member Avatar for Jennifer84
0
131
Member Avatar for Adrian99420

Hi, I am developing a GUI using visual C++ 2005 express edition. I created a window forms (form1.h) with some buttons and codes. Next I added another new window forms (form2.h)with a single button. I wish to link the form2.h to form1.h with a single button click. I searched and …

Member Avatar for Naisan_Yazdani
0
107
Member Avatar for godloverails

Here is a data file like this,please help me update my code to omit all comments stored in the file.sample file looks like this: C:\\s1.txt #author:Single Ray #data:02-2-10 141.641, 567.614, 24.25 140.939, 567.736, 24.25 #start 140.053, 567.947, 24.25 148.985, 568.352, 24.25 #end .... Im sorry,forgot attach my codes,here is my …

Member Avatar for Salem
0
156
Member Avatar for bpacheco1227

This program is supposed to prompt for a price until (do while loop) the input box is blank and then average the numbers and display the average. I've got most of it down except the average part, how do I store the numbers the professor hasn't showed us arrays yet. …

Member Avatar for bpacheco1227
0
215
Member Avatar for syuk

Hello C program Gurus... i have problem with my programming. i can run my prog but its something not right... my prog is to make an automated reservation system program to assign seats on flight of the plane that have apacity 10 seats. the program should display the following menu …

Member Avatar for Salem
0
146
Member Avatar for Nemoticchigga

How do you draw on an image in visual studio 2005 and get it to stay? Ive can get it to draw, but it flickers on resize and disappears when the resize is done. Any ideas?

Member Avatar for Nemoticchigga
0
145

The End.