64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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.....? | |
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 … | |
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. | |
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 … | |
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); | |
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 … | |
[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 … | |
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 … | |
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 | |
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++) { … | |
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 … | |
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 >> … | |
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 … | |
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 … | |
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 | |
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? | |
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. | |
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 … | |
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? | |
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 … | |
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. | |
Hi everyone, Can any one tell me about the uses of let and get property in VB and how to use it? | |
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?? … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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. '; } … | |
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 . | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 '..' … | |
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 … | |
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 … | |
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 … | |
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? … | |
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 … | |
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 … | |
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]. … | |
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 … | |
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. |
The End.