64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for GotCake

I was wondering if there is a way to make specified code, most likely a function, run before the program quits out due to the user logging out etc. I'm writing a Win32 app with no window in Dev C++. (if that makes any difference) I've been searching a bit …

Member Avatar for GotCake
0
150
Member Avatar for dnanetwork

Hi there all... i'm implementing Authorize.net and i wanna know... do i need to add a web reference i.e web service... or do i need any .dll files.....?

Member Avatar for sknake
0
162
Member Avatar for Yaserk88

High I am in Europe right now and here they treat their commas as decimals points. I am working with Visual express 2008 and I cannot find a way to read a file that has all commas for decimal points. I can read the numbers as a string, but than …

Member Avatar for Yaserk88
0
2K
Member Avatar for Dan08

Hi everyone, I'm doing some experiences with python in Windows Vista and I was wondering to know how to eject the tray of CDs. Thanks, Dan.

Member Avatar for Dan08
0
224
Member Avatar for colmcy1

Hey All, another problem :) I am trying to write code that on hitting a button will open and program, a "ok" window appears when program is open so I want the code to keystroke RETURN. I am using MSVC 6 MFC. I have gotten (painfuly) to the stage where …

Member Avatar for colmcy1
0
124
Member Avatar for stockton

I have been asked to add a pause to an existing C++ program. The user does not want to use the Windows builtin scheduler for reasons they won't share with me. Is the correct way of doing this something like:- void Sleep(10000);

Member Avatar for necrolin
0
109
Member Avatar for cVz

Hi I am writing a web application with VS 2008 standard edition. I just got this really weird error. I replaced a few of the controls on the form from labels to text boxes, and it worked fine , but all of a sudden it shows me the old controls …

Member Avatar for cVz
0
138
Member Avatar for sdmahapatra

[quote]Hi all,I have written a program in c++ using visual studio 2008.I've create only one source file and written all the codes including header files within .cpp extension and program is running well.But I want to split this program like [code] .h extension [/code] be present into the header file …

Member Avatar for sdmahapatra
0
134
Member Avatar for babbu

i have 3 columns in a datagridview. i want to add values. everything is working fine but when i add values there is a blank row at the beginning. how can i remove this ? here is my code [code] dataGridView2.Rows.Clear() Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select Code,Weight,Unit …

Member Avatar for kvprajapati
0
157
Member Avatar for memegha123

can anybody tell me how do i create a link that forces a .doc file to download on the client computer or if that's really difficult to do without a ftp server.. then how can i display the file in browser as pdf

Member Avatar for memegha123
0
91
Member Avatar for tulipputih

Hello everybody, anyone can help me with this problem? instead of just display the child (in array)..echo $Valuechild[$i]."; "; (see the below code)..I would like to make a link from $Valuechild[$i] to a details of that variable.. [code=php]<TEXTAREA NAME="comments3" style='width:50%' rows='4'> <?php for ($i =0; $i < $ValuenumtableChildren; $i++) { …

Member Avatar for tulipputih
0
4K
Member Avatar for iiizuluiii

so its been a verrrry long time since I messed around with vb. I am trying to make a program for my clan and here is a simple question I hope some one can answer. I am trying to make a button activate a radiobutton to checked if you press …

Member Avatar for iiizuluiii
0
196
Member Avatar for VernonDozier

I posted a program earlier today in response to another thread and noticed that I had forgotten to clean up/free the memory I used. Here's the program. [code=cplusplus] #include <iostream> using namespace std; int main() { int LIST_SIZE, NUM_CHARS_PER_ELEMENT; cout << "Enter number of elements in list: "; cin >> …

Member Avatar for wildgoose
0
188
Member Avatar for wingers1290

Hi, I am creating a program for my business that allows us to write quotes quickly, I am fairly new to C# and am stuck on a particular matter. i cannot relate to my Dynamically created textbox no matter what i name it, i am using the following code to …

Member Avatar for Antenka
0
311
Member Avatar for Grantmitch1

Hello Daniweb Community, Now im trying to make a website and have just thought that if it manages to succeed it will of course get much larger as will the navigation. As such I thought using the <?php include("navigation.php"); ?> would be a good idea. That way the navigation is …

Member Avatar for darthvegan117
0
163
Member Avatar for mohamed1

Hi all :) :rolleyes: :confused: redirect user to another page in some sites if i typed address wrong it redirect me to another page in site home page for example instead of error page 404 appears to me is it should have Global.asa is there another way please help

Member Avatar for tomer1
0
164
Member Avatar for serkan sendur

i have a textbox with tab index set to 0, i want to keep the tab index the same but i dont want it to got focus when the windows form loads. how to do that?

Member Avatar for serkan sendur
0
107
Member Avatar for abu taher

I made a queiry. but every data show in this queiry double. I mean every data show two time in this queiry. why this problem occured. any body help me please.

Member Avatar for johnly
0
99
Member Avatar for prashanth s j

Hi all, I need to create thousands of directories in a single parent directory using shell scripting code. One problem would be to generate the unique directory name for each of the 1000 iterations to create a directory every time. ie first time the directory name needs to be subdir1 …

Member Avatar for Dream2code
0
199
Member Avatar for serkan sendur

i couldnt find the constructor of the controls like textbox or button neither in the form.cs nor in the form.designer.cs. where are they?

Member Avatar for serkan sendur
0
74
Member Avatar for Clueless86

I have used python for awhile, and am quite good with it. But last week I added the wxpython..I wanted to actually make a program and not a script. So I can do this in normal python all day long. But wxpython is alot different, so I need help with …

Member Avatar for shadwickman
0
368
Member Avatar for dumrat

Hi, Can someone tell me how to suppress all the warnings g++ produces? Not specific warnings : I know how to do that. I want to not see any warnings at all when I build. Thanks.

Member Avatar for Tom Gunn
0
431
Member Avatar for Rajesh Ranjan

Hi everyone, Can any one tell me about the uses of let and get property in VB and how to use it?

Member Avatar for Rajesh Ranjan
0
102
Member Avatar for mimsc

I did a google search and found that PHP uses: $_SERVER['HTTP_USER_AGENT'], which would give the following result, should I visit a page: [code] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 [/code] is their any functionality in java that will do the same?? …

Member Avatar for ThinkFree
0
98
Member Avatar for magenta_lover

Hi all, i want to open a file with this code [code] Dim linetext As String Private Sub Command1_Click() CommonDialog1.Filter = "Text Files(*.txt) | *.txt" CommonDialog1.ShowOpen If CommonDialog1.FileName <> "" Then Open CommonDialog1.FileName For Input As #1 Do Input #1, linetext Text1.Text = Text1.Text &linetext Loop Until EOF(1) End If …

Member Avatar for magenta_lover
0
126
Member Avatar for diafol

Hi all, didn't know into which other forum this should be posted, none of them seemed obvious, so I've placed it here. Here's my problem: I've got a domain ([url]www.example.com[/url]) registered with a host, let's call them 'smallhost', and I've got a website with my custom admin section there. Recently …

Member Avatar for diafol
0
95
Member Avatar for applefat

I have a collection of objects descended from JComponent that are displayed on an object desended from JPanel. Basically these JComponent-based objects are components that can be added and placed arbitrarily and can be dragged about on the panel. The panel is in charge of repainting all the tools/components that …

Member Avatar for VernonDozier
0
114
Member Avatar for jay.barnes

Hi! I'm looking to update a field in a table via PHP, basically asking it to change a fields contents to 'foo' if it currently contains the word 'bar', or to change its contents to 'key' if it currently contains the word 'board'. I can't seem to get the syntax …

Member Avatar for jay.barnes
0
91
Member Avatar for pt0909

I 've a search page in vs2008 c# , with multiple controls when user make some selection i need to pass it ot report Do anyone has a good tutorial?/ how can I build a sql /Parametetrs and pass it to report.

Member Avatar for Ramesh S
0
99
Member Avatar for tazboy

Here is what I have: [CODE]} else if ( argc > 1 ){ for ( int arg = 1; arg < argc; ++arg ){ infile.open( argv[arg] ); if ( infile ){ list = read_file( &infile, &lines ); } } } [/CODE] argv[1] = text.txt gets opened, but argv[2] = text2.txt …

Member Avatar for tazboy
0
145
Member Avatar for Thireus

Hi guys, I have a simple question, I want to store the output of the following command: [QUOTE]sudo iotop -t 0 -C 3 | grep "load: "[/QUOTE] As you can see it is running all the time, and we get a new line every 3sec. I just want to store …

Member Avatar for Thireus
0
192
Member Avatar for Yaserk88

I am reading a file that has a column of words, but each time the column is read, the first letters are the only things that are outputed. Does anyone have any simple solutions to this? I don't want to have each letter be a separate variable. [ICODE]#include <iostream> #include …

Member Avatar for Yaserk88
0
118
Member Avatar for iThaos

Hey thanks for reading this. Say I have 3 classes and I want to combine those class into a core. Example [code=php] <?php class One { public function get_me(){ echo 'Hello from class One. '; } } class Two { public function call_me(){ echo 'Hello from class Two. '; } …

Member Avatar for iThaos
0
114
Member Avatar for alsoumhi

hi all , my question is how to create a hypertext link in servlet so if the user click it, it shows another web page or a message .

Member Avatar for Thirusha
0
86
Member Avatar for CFROG

Okay, I'm sure this is an easy one for you guys. You guys really know your stuff and it just seems easier sometimes to go straight to the source then to google and experiment for God knows how long. Forgive me for my ignorance of php. that's just the way …

Member Avatar for CFROG
0
108
Member Avatar for Robtyketto

Greetings, I'm writing an application for membership maintenance, part of this is to record if a member is [B]deceased[/B]. The data is stored in an [B]access 2007 [/B]database ([B]accdb[/B]), the deceased field being of '[B]Yes/No[/B]' datatype with no default value. In Access I can write SQL to retrieve rows where …

Member Avatar for Robtyketto
0
188
Member Avatar for craigallansmith

Hi Everyone. I am busy building a VB 6 APP that will access a MS Access database. For the sake of this problem I will abreviate the DB. It has two tables. the main table has 6 bound text boxes to a data control. They work fine on there own. …

Member Avatar for craigallansmith
0
212
Member Avatar for php_noob

Guys, I need Help in making PHP APACHE and MS SQL SERVER 2000 to run. I search a lot but still can not get the logic behind it. All that I understand is that I need to configure something in the PHP INI. Is it possible in XAMPP? or I …

Member Avatar for php_noob
0
305
Member Avatar for ITTOBE

I'm trying to write a code that will allow for items to be displayed and when two are selected those two will be displayed in a different list box as a "receipt". If I'm not mistaken the code and everything is correct, but for some reason the items are not …

Member Avatar for firoz.raj
0
80
Member Avatar for aashishn86

hiii i am using the following functions in javascript to dynamically add and remove rows from a table... [code] function addRow() { //add a row to the rows collection and get a reference to the newly added row var newRow = document.all("applications").insertRow(); //add 3 cells (<td>) to the new row …

Member Avatar for punitdam
0
168
Member Avatar for sarithak

Hi frnds... Here i am going to uploading image from my system to ftp.. the below code works correctly in localhost...But, when i use FTP ,it doesnt work..it display error. [CODE] Warning: move_uploaded_file(photos/Endeavour123.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in..... Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'c:\WINDOWS\Temp\php4DA.tmp' to '..' …

Member Avatar for sarithak
0
107
Member Avatar for Julia25

i posted this question in other forum but no luck so far, i found a link that has the same goal as i am but dont know how modify this [url]http://www.verysimple.com/blog/wp-content/uploads/2007/01/resize_css.html[/url] my goal would be in reverse when enlarge (window browser dragging) my div will decrease size (width) when enlarge …

Member Avatar for Julia25
0
134
Member Avatar for brieghz23

Sir, can you please Give us a VB code for our cmdDelete button? a code that will delete a data from the database (ms access).. our form looks like this >>> [url]http://img229.imageshack.us/img229/7583/image002p.jpg[/url] or [ATTACH]10893[/ATTACH] we used the "listview" for displaying the searched item/s and be deleted... note: search and add …

Member Avatar for vb5prgrmr
0
294
Member Avatar for ctyokley

Hi, I get the error: Format of the initialization string does not conform to specification at Index 33. I was hoping if someone could help me on this situation. The code is listed below. [code] 'code Imports System.Web.Mail Imports System.Data Imports System.Data.OleDb 'end code Partial Class _Default Inherits System.Web.UI.Page 'set …

Member Avatar for ctyokley
0
150
Member Avatar for GDICommander

Hello everyone! I'm looking for a class in the Java API that can take the complete structure of a directory in itself and that can be passed on sockets, so it can be used on other machines of a network. Is there someone that can show me an existing class? …

Member Avatar for kvprajapati
0
107
Member Avatar for XavierExtreme

I have a table that has become corrupt and I need to merge the records back into one record. I have multiple records that should be recombined and I have hit a brick wall on this. In my table the data looks like this part_id Unique c_date m_date Qty ht_num …

Member Avatar for XavierExtreme
0
109
Member Avatar for SID.SIL

Hi guys I am using a ModalPopUpExtender with a GridView and it´s working corretily. I Click in the "Select" collumn to open the ModalPopUp to view the data of the colluns. In the panel I have a "Save" button and the routine to save the data is not working actually …

Member Avatar for Ramesh S
0
117
Member Avatar for crh0872

Hey guys! I was writing a program that had an infinite loop, [ICODE]while (1)[/ICODE], and within that loop was an if statement checking to see if a certain amount of time had passed. If it did, it would print out something, if it didn't, it would print out a [B]'.'[/B]. …

Member Avatar for crh0872
0
131
Member Avatar for UncleJoe

I'm all hosed up...most of this is pretty new to me, so please forgive my terminology. I'm using scriptaculous for the DnD stuff. Using AJAX I'm returning a variable from the server. The variable can be verified using alert(variable), but when I pass the variable as an argument it isn't …

Member Avatar for UncleJoe
0
212
Member Avatar for jportifer

Hi. I'm programming in Borland C++ Builder v. 6.0. I'd like to know where could i get a Directory Dialog component. Thanks in advance.

Member Avatar for jportifer
0
75

The End.