199,114 Archived Topics
Remove Filter ![]() | |
how to write a query to insert a row that is deleted from one table to another table using sql server 2000 at the same time | |
Does anyone know?, how can i edit an excel file from visual basic, but without installing excel? Actually, i know how to create or modify an excel document with code in visual basic, but is necessary add a reference to the excel's object library in the project. the trouble is: … | |
Hi, I'm just starting out in programming and I'm currently making a small program which shows how Bubble, selection and Insertion sorts work. I've found a small program which bubble sorts a user selected number of integers and shows each step at which these are sorted (each pass). However this … | |
I am working on a project and I need to process a text file. I have read in the text file. What I want to do is break the textfile up. The textfile looks like this: >Name 1 ABCDEF GHIJKLM >Name2 GHIJKLM What I want is to store each name … | |
hi,so many problem with my comp these days.... so,i will go straight to the point. I use hotmail and whenever i look at the mailbox website,at the bottom of the window(where usually says done after done) always says 'error on page' and i cannot open or delete my message,i know … | |
i've got a front end that upon the user entering criteria it displays the 1st 3 records that match that criteria. is there an easy, or somewhat easy way to display the next 3 records? and possibly even be able to go back browsing thru matching records in groups of … | |
I'm writing a doubly linked list and a lot of the code ends up being the same with _next and _prev switched. What can I do to keep from writing some code with _next and then the same code again with _prev? Can I do like a template that flips … | |
whats up everybody? im using the [U]Web Database Applications: with PHP and MySQL[/U] book and tried to modify their generic browse function to make a front-end that looks at a table 20 records at a time. suffice it to say, i can't get it to work. the function is in … | |
I want to learn more about how inheritance works, more like I NEED to learn more about it if I am to get any better at this. In my code I have the value of a cd defined as how many cds are in stock times the price of the … | |
Hi, I am new in programming. I would appreciate if anyone can help me out to find maximum value of each column in the following matrix. int array[3][5]={{1,2,30,4,5},{3,41,5,6,7},{5,6,7,81,9}}; Thanks, Vishowntar | |
What's the difference between[CODE=c]char *Name; Name = malloc (13*sizeof(char)); strcpy (Name, "George Brown");[/CODE]and[CODE=c]char Name[13]; strcpy (Name, "George Brown");[/CODE]The compiler gives a warning in the second case: [INLINECODE]warning C4047: 'function' : 'char *' differs in levels of indirection from 'char *[13]'[/INLINECODE] & [INLINECODE]warning C4024: 'strcat' : different types for formal and … | |
sorry ...i created a page in java applets ....with one text box and one button.I want to send the values in the text box to google web page.... Tat is how to pass values to web page(online) from one static page in java. Am totally new to java .. Give … | |
I want to create an application. It shouldn't be OS-specific but I'm running 98SE so I'll be explaining things in terms of that. I've already written it as a working script in VBScript, but it's too slow [i]and[/i] gets exponentially slower as it handles larger and larger files. I want … | |
Hi everyone, I have included a "Send mail" module in my vb module, but I want to accept the email address from an input box instead of hard-coding the recipients email address because the recipient may be different each given time. Below is my code: [code] SENDEMAIL: Set OutlookApp = … | |
Hello to all there I m new to this forum and couldnt find the answer to my question so I am creating new thread for discussion on this topic. Recently I have taken some tests and one of many confusing question was this: "Maximum possible number of nodes in a … | |
i created a page in java applets ....with one text box and one button.I want to send the values in the text box to java.....Am totally new to java .. Give ur suggestions also, Whether it can be done in sum other way... Thanks In advance To My dear Friends..... | |
Program to demonstrate the Stack class #include <iostream> #include <vector> using namespace std; template<class T> class Stack { public: Stack(); bool empty() const; T top() const; T pop(); void push(T element); void Output(T element); private: vector <T> pool; }; //constructor template<class T> Stack<T>::Stack() { pool.reserve(10); } //function to output the … | |
Hi everybody, I am lookin for a function in vb 6.0 for finding position of a charecter in the string.I know the logic but is there any inbuilt function available ? Please help Thanking You Piyush | |
Hi, all I have code like this for encrypt - decrypt. but every time i run, result encrypt always different. so how to value in varible key constant. then result same every time run thanks. import java.io.*; > import java.security. *; > import javax.crypto. *; > import sun.misc.*; > import … | |
hie, i'm kinda new to this forum and have no experience in these forums,this my first time so please bare with me.I'v got an assignment i'm working on and i"m stuck,could you help? The program is attached [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] | |
let's say i have a .dat file and .hdr file .... i have to compare both of them .... how can i open both of them at the same time and then compare them ? do you think is it prossible? pls help me? Edit/Delete Message | |
Hi, I need to have my compiler take preprocessor definitions from the command line. How does it differ from normal command line parameter passing (main(int arc, char *argv[])) ? Thanks. | |
I want a certain form to be unloaded only when there is no other form loaded, how do I check if any of the other forms are still loaded | |
-------------------------------------------------------------------------------- When using this with the DrawText API, I make the rectangle that the text is contained in the width of the return value of GetTextExtentPoint32 I know I am using the right parameters, but sometimes the rectangle is way too big (over 15 pixels wider than the actual width … | |
I am calling this constructor but it is not getting complied public conn() { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); } throwing error message: D:\etech\WEB-INF\src>javac *.java conn.java:16: incompatible types found : java.sql.Connection required: com.mysql.jdbc.Connection con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); ^ 1 error | |
lets say i got a few string exp: 11111233NR+0001030 210NNR 99NR+001030 339NNE each substring got dif meaning ....11111 for the ID , NNR for the location. etc do you have any idea how to split them in each substring. pls help me... | |
i cannot understand...how to start because we cannot use structures or records everything is done inside main function.... P.S. i am not asking for CODE!!!!...i want to kno how to declare and use such function.....thank you...first yr programmer!:S how to create a 2d dynamic array of strings called book??????...where &book[*][0] … | |
I am making a program where the user has to input text, and the program outputs the appropriate string. I made this program using if else statement, but professor said not to use if and else. So I want to know if I can use the switch statement. I know … | |
Ok I'm new to this whole create your own little .exe and have it do something. But a friend of mine whos only 15 is making really complex scripts in C++ so I suppose an idiot can do it, to some level. I play a game called Medal of Honor … | |
i am a newbie in learning php, and i would like to know if php can be used just as javascript being initialized in the head of an html docment to be called whenever you need it? | |
i am trying to do some examples to understand more easily php, but when i try them, this happens: (here is the source code) [code=html] <html> <body> <?php $arr=array("one", "two", "three"); foreach ($arr as $value) { echo "Value: " . $value . "<br />"; } ?> </body> </html> [/code] and … | |
I have a class A ( which is a JFrame with card layout ). Two other classes B and C ( both are JPanels ). Class A initially displays an instance of the class B in its content pane. When a button is hit in the class B, I want … | |
[B]strncpy[/B] is not working for me for the following variable. It is working fine elsewhere in the program. [CODE=c]char szQName[21]; strncpy(szQName, "Text", 20); //debugger shows szQName's value as -88D11B47-8F19-41CA-.[/CODE] Has it ever happened to anyone? [B]Details[/B] (context of the code): [CODE=c]char szQName[21]; LPSTR szFileName; //Long Pointer to a STRing (char*) … | |
Hi guys where is the problem with that simple class program: #include<iostream> #include<conio.h> using namespace std; class DayOfYear { public: DayOfYear(int month,int day); void output(); void input(); private: int month_year; int day_year; }; DayOfYear::DayOfYear(int month,int day) { month_year=month; day_year=day; } void DayOfYear::output() { cout<<month_year<<"/"<<day_year; } void DayOfYear::input() { cout<<"What's your … | |
Hi All, I want to convert char * to int. Plz help me out. Thanks in advance. | |
Hello All, I am writing a program to act as a cash register. I reads in from a file that looks like this: A Cheeseburger 2.97 B Soda 1.90 C Sundae 3.50 ...and so on..... The point is for the user to enter a single letter and then the item … | |
what is the difference between Apache and IIS,n which is required to install for using php.kindly let me know? Regards, | |
How to open HTML page in a browser with specific options selected in drop-down boxes? Hi Everybody, The task that I have is from Perl script to open HTML page in a browser with specific options selected in drop-down boxes and edit fields using POST method. The good example of … | |
Hi, Wishes. While i try to install phpunit in Xampp I get the following line along with few other . phpunit/PHPUnit requires PHP extension "reflection" I googled a lot and no where i could find any such extension. what i shud do to find this extension. I removed one required … | |
Hi, I am trying to configure the logger in java to log my messages. I have downloaded and added the log4j.jar to my classpath. I am receving two error messages while I am running the program to check it.The code I am using is : import org.apache.log4j.*; public class LoggerClass{ … | |
hi, i created one registration form include image verification field how to add image and how to verify give some idea. Thanks. | |
I am trying to create a calss with a constructior that creates connection with MYSql database , i am using database name as dbetch . I have set the path varable but still it id throwing error package login; import java.sql.*; import java.sql.DriverManager; import com.mysql.jdbc.Connection; public class conn { Connection … | |
Hi Does anyone know what is the simplest way to backup a database using the [b]mysqldump[/b] function in php? I have googled a lot and the codes i have found are very hard to understand and most of them does not work. Thanx in advance for your help. | |
hi i want to read the whole URL passing through the address bar and asssign it to a variable .Please help me | |
Hi!!! I need to check a form for illegal characters through a whitelist(list of allowed characters) with php. A function that could do this for me would be helpful...I can't find one on google... I really have no idea how to do this.... thanks!!!! ~Kodiak | |
I was told not to have global variables and given an example. Ifollowed it and now I get this error:[B]only const static integral data members can be initialized inside a class or struct on lines 50-85 [/B] [code]#define STRICT #define ORBITER_MODULE #define ENG 1 #define START 2 #define STOP 3 … | |
I want my program to do a search on a database [B][U]every few minutes [/U][/B]to check for something specific and if it's found, then to show a certain form. I have 8 forms in my project and I want the search to be done while any of them is open. … | |
how can i change the path of the database from which i retrive data on run time.... i mean if the database is shifted from server to any othe location the how can the path of the database can be shifted..... | |
Hi I have the following code which generates an error 'Data Type mismatch in criteria expression' The purpose of the code is to write a value to a database at a specific row. [CODE] Dim IntSid As String Dim Sid As String Dim I As Integer IntSid = Me.TTIn.Text Sid … | |
Hi there! How do I check if stdin is empty? This is how I write in the terminal to call my program: [CODE] >> cat file.txt | python script.py[/CODE] /flaerpen |
The End.