199,124 Archived 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 kothai86

I have developed a page and want to enter the value automatically using asp. Like for ex, passing values for GOOGLE search and pressing the search button from ASP. is this possible?:-O

Member Avatar for rafaelbelliard
0
78
Member Avatar for 141550

In a class use the new operator to crate a object of the class . Their constructor is used to allocat memory for the data member and fucntion , and distructor is use to free the memory . If we use delete inplace of distructor , will it work ???

Member Avatar for kvprajapati
0
122
Member Avatar for Menster

Hi there, Does anyone know how to force Internet Explorer to refresh it's results from an AJAX call? I might be doing something wrong but here is my problem: I use Ajax to present a form containing price values of a product from a database, where they are presented in …

Member Avatar for prime1999
0
139
Member Avatar for kssi89

Hello everyone, I'm working on a school project and am using some code from the book to sort an array in ascending order. I'm apologize ahead of time if my methods seem crude. I've used this sort method on a normal array of numbers and the numbers were ordered correctly; …

Member Avatar for lakshay
0
143
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 MAcKZloy

Hello. Help me, please. Need export BD (create dump file). I installed MySql.Data.msi from MySQL site.

Member Avatar for Ramy Mahrous
0
72
Member Avatar for veledrom

Hi, I want to run a script automatically in a php page. (e.g. everyday 10am). How can i do it? Except cron job. Thanks

Member Avatar for Josh Connerty
0
123
Member Avatar for BabyEyes

Hi everyone i really need help ASAP .I need to read from the file which saved the result of a survey and make a chart on the answers. i have 5 questions and the values are 1, 2, 3 .how can i make the readin from the file and making …

Member Avatar for Menster
0
172
Member Avatar for thr

i want to select java or c# please help me to select better programming language and easy to programming language i have experience in c++ if java is better please tell me why java is better or c# please introduce me best books for java and c#

Member Avatar for Ramy Mahrous
0
237
Member Avatar for chathuD

[code=c#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace stp { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;Initial Catalog=ex;Integrated Security=True;Pooling=False"); SqlCommand …

Member Avatar for chathuD
0
415
Member Avatar for guyeyal

i have a program that run merge on sorted arrays each array is in size n and i have k arrays by dividing to 2 until merge receive only 2 arrays merge them and then merge 2 bigger arrays i found that my complexity is: t(nk)=2(t(k/2)) + cnk what is …

Member Avatar for prime1999
0
74
Member Avatar for Kurt Kubing

How can I obtain font properties thru a font file (*.otf;*.ttf or PostScript fonts)?

Member Avatar for Dream2code
0
125
Member Avatar for mrestrepo30

Hi! I'm just starting to code in C, and I'm trying to read the information in a dat file, to then use it in some calculations. I read the information in the file and then save it in an array. However when I try later to access that array I …

Member Avatar for Dream2code
0
149
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 gagan22

Hi all, I am making one application. When user will submit a form from frontend and it will go all value in database. After that i am showind this frontend form value in backend. In backend or admin section i am using two button one for submit and other for …

Member Avatar for guru12
0
142
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 themush

Hi, Im trying to parse a bands myspace page and get the total number of plays for their songs. The problem is that I cannot use urllib2 as the "Total plays" string does not appear in the page source. e.g. [url]http://www.myspace.com/mybloodyvalentine[/url] Any idea of ways around this? Thanks, O

Member Avatar for themush
0
102
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 xiikryssiix

I'm just wondering if anyone can take a look at my current program below and see what im missing. ive been working on it for so long that i'm just stuck and need another help to kind of get me going in the right direction. I'm trying to create the …

Member Avatar for iamthwee
0
113
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 Himani_29

hi, as i already discussed in my last thread that my exe is not working for large number of files but it is doing really well with fewer files. today i took a screenshot and got the following error... here is my code..i am even trying to put delay in …

Member Avatar for tux4life
0
121
Member Avatar for esesili

Hello All, I am trying to generate an array which has random integers and pass this array to a function to be able to print random integers. The code I have written is as below. Can you help me about that? Thanks [ICODE]#include <iostream> #include <ctime> using namespace std; void …

Member Avatar for tux4life
0
122
Member Avatar for esesili

Hello again, I am trying to generate an array which has random integers. Then I have to sort it and perform binary search. Below is my code so far. It gives error message (runtime check failure 2 stack around the variable num_arry was corrupted). When I define num_arry[10] instead of …

Member Avatar for tux4life
0
104
Member Avatar for whiteyoh

Hi All, Im fairly new to Java and im currently working my way through a couple of books but im stumped with something. I want to know, or get an example of how i can add an action to a button which outputs to a screen. I just cant seem …

Member Avatar for oliver_lundag
0
197
Member Avatar for lakshay

hello java experts, I have made a program for remote method invocation but i am not able to do get output even i am able to do registry socket error it shows during run made. plz help me out if anyone knows.......... 1)name:AuhorServer import java.rmi.*; public interface AuthorServer extends Remote …

Member Avatar for ede
0
168
Member Avatar for mangel.murti

hi all i want to display news from other website and display them to my site using php & mysql.how to achive step wise???

Member Avatar for mangel.murti
0
109
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 CodeBoy101

Hello to all, I was wondering how to run servlets using Glassfish V2. I'm using NetBeans 6.5 and need to use servlets, but I don't want to install Tomcat to do so, any suggestions?

Member Avatar for peter_budo
0
127
Member Avatar for Rapmanseele

I have a problem with tomcat 5.5. I always have to start a service manually.So what can I do in order to make it start automatically?

Member Avatar for peter_budo
0
86
Member Avatar for olarotimi73
Member Avatar for ithelp
0
272
Member Avatar for llazar

Is it possibile to insert SQL in JSP? If you have examples about how to connect to a MySQL database from a JSP web page, how to view, edit, create tables please send. I am looking forward to receive some code about JSP & MySQL. Yours sincerely, Laurian Lazar

Member Avatar for kvprajapati
0
264
Member Avatar for gispe

Hi!! I made a program, but Im having a problem with the button 4_click and the button 1_click, the work, but not the way they should. button_4 should pass the salarys that are under 1000 to the other listbox, delete them from the right listbox. And what it does, is: …

Member Avatar for babbu
0
130
Member Avatar for rs25

Hello everyone I'm just a newbie in java/jsp Need suggestion and how to proceed in the following: 1. Wanted to create web app. (jsp/servlet) with login and access autorization. the situation is like i have a home page with login info inputs, i direct the inputs to a jsp in …

Member Avatar for masijade
0
125
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 pepemiso

i have a problem.. please help me..I have only one combo box and i want my combo box to have its value and i want to get it's value from my database??? how can i get that?? please help me to do this. thanks. here is my code please help …

Member Avatar for babbu
0
122
Member Avatar for aveek

i am working with a JTabbedPane and am facing a problem. i want to change the title of a tabbedpane. i am using the setTitleAt() method. however there is no change in the top corner where the name of the tab is displayed. however when i am using getTitleAt() method …

Member Avatar for kvprajapati
0
88
Member Avatar for apradhan

Thumbnails are basically a complicated yet effective way to save bandwidth. Although saving thumbnails as seperate images may make things simpler, generating thumbs on the fly help saving space and takes very little processing time in return. Check the file for code and instructions. [code=php] <?php /* Paramters --------- w: …

0
218
Member Avatar for Lolalola

Hi, I have the following table: Name Row(number) Nico 1 Marko 2 Peter 3 Joy 4 Kimi 5 I delete Nico and Joy: Marko 2 Peter 3 Kimi 5 And how to make a table would look as follows: Marko 1 Peter 2 Kimi 3 How to automatically re-arranged in …

Member Avatar for eantz
0
91
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 Fyrelion

Hi, I'm in a IntrotoOOP class at my school, and my instructor asked me to look up how to fill a Java Swing Class ComboBox with data from a MySql Database. Does anyone know? This question has been quite hard to find any answers on and I have been really …

Member Avatar for oliver_lundag
0
752
Member Avatar for barige rajesh

[code] int main() { int *ptr=new int (100); cout<<"p's add is "<<ptr<<endl; cout<<"value in p is"<<*ptr<<endl; delete ptr; // deallocation of ptr; cout<<"p's add is "<<ptr<<endl; cout<<"value in p is"<<*ptr<<endl; return 0; } [/code] Even the delete operator is executed, the last two output statements are working same the first …

Member Avatar for barige rajesh
0
229
Member Avatar for michael123

I have one table in this format: [ICODE] Product Component --------------------------- A part1 A part2 B part1 B part4 A part3 C part5 D part1 [/ICODE] now I want to display product which components meet requested items, for example: I know component are "part1" and "part3", need to show product …

Member Avatar for cgyrob
0
129
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 get2tk

i am havin a problem using a RadioButton to control labels on a panel.Anytime i click on one of the JRadio button it controls all the other panels at the same time instead of only controlling its label on its panel. Please all hw do i go about setting my …

Member Avatar for oliver_lundag
0
278
Member Avatar for lancevo3

I am having trouble with my copy constructor for a Deque program I am writing. It just does not seem to be doing any copying anyone notice a quick fix on this? [code=cplusplus] Deque::Deque(const Deque& oldDeque) { dArray = new int[oldDeque.dMaxSize]; int sub = oldDeque.dMaxSize; for (int i = 0; …

Member Avatar for lancevo3
0
1K
Member Avatar for Cardboard Box

Hi I was programming a 2D scroller game in VB.net, but am having problems with collision. I spent ages thinking how to program collision into my program, but haven’t gotten a good result yet. Basically, my game takes numbers from a notepad file and draws tiles on the screen based …

Member Avatar for Cardboard Box
0
103

The End.