199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for greeny_1984

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

Member Avatar for debasisdas
0
76
Member Avatar for z9maar

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: …

Member Avatar for debasisdas
0
114
Member Avatar for Pastafarian

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 …

Member Avatar for Pastafarian
0
165
Member Avatar for Akilah712

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 …

Member Avatar for Akilah712
0
282
Member Avatar for tom_oxygen

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 …

Member Avatar for MidiMagic
0
175
Member Avatar for sickly_man

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 …

Member Avatar for Ezzaral
0
85
Member Avatar for Hamrick

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 …

Member Avatar for Bench
0
97
Member Avatar for sickly_man

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 …

Member Avatar for Ezzaral
0
502
Member Avatar for no1zson

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 …

Member Avatar for no1zson
0
97
Member Avatar for VISHOWNTAR

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

Member Avatar for VISHOWNTAR
0
2K
Member Avatar for mohammadalipak

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 …

Member Avatar for mohammadalipak
0
135
Member Avatar for Ramya03

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 …

Member Avatar for peter_budo
0
85
Member Avatar for ananda6359

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 …

Member Avatar for TkTkorrovi
0
125
Member Avatar for tgifgemini

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 = …

Member Avatar for tgifgemini
0
140
Member Avatar for nabilchampion

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 …

Member Avatar for Ancient Dragon
0
612
Member Avatar for Ramya03

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.....

Member Avatar for vinod_javas
0
433
Member Avatar for Reg74

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 …

Member Avatar for Reg74
0
169
Member Avatar for pvozarkar

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

Member Avatar for debasisdas
0
59
Member Avatar for onsir

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 …

Member Avatar for ksaxena
0
130
Member Avatar for masimba

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]

Member Avatar for choudhuryshouvi
0
102
Member Avatar for coco86

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

Member Avatar for AV Manoharan
0
130
Member Avatar for ejptccs123

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.

Member Avatar for thekashyap
0
171
Member Avatar for plusplus

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

Member Avatar for jireh
0
108
Member Avatar for Fromethius

-------------------------------------------------------------------------------- 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 …

Member Avatar for Salem
0
189
Member Avatar for staneja

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

Member Avatar for staneja
0
92
Member Avatar for coco86

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...

Member Avatar for coco86
0
118
Member Avatar for sanjuganju

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] …

Member Avatar for mohammadalipak
0
152
Member Avatar for tformed

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 …

Member Avatar for Killer_Typo
0
4K
Member Avatar for vista11

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 …

Member Avatar for ahnonamis
0
89
Member Avatar for ndeniche

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?

Member Avatar for WhiteLeo
0
136
Member Avatar for ndeniche

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 …

Member Avatar for ndeniche
0
88
Member Avatar for md_salman

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 …

Member Avatar for Ezzaral
0
62
Member Avatar for mohammadalipak

[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*) …

Member Avatar for mohammadalipak
0
154
Member Avatar for mauro21pl

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 …

Member Avatar for ~s.o.s~
0
158
Member Avatar for RohitSahni
Member Avatar for ~s.o.s~
0
32K
Member Avatar for alembic21

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 …

Member Avatar for ~s.o.s~
0
86
Member Avatar for marjan_m

what is the difference between Apache and IIS,n which is required to install for using php.kindly let me know? Regards,

Member Avatar for Ezzaral
0
218
Member Avatar for jvisprime

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 …

Member Avatar for chandrag
0
128
Member Avatar for hbmarar

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 …

Member Avatar for lukescammell
0
191
Member Avatar for vijaygandhi559

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{ …

Member Avatar for jwenting
0
204
Member Avatar for pd1234

hi, i created one registration form include image verification field how to add image and how to verify give some idea. Thanks.

Member Avatar for Ezzaral
0
59
Member Avatar for staneja

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 …

Member Avatar for staneja
0
158
Member Avatar for cancer10

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.

Member Avatar for MitkOK
0
285
Member Avatar for mithesh

hi i want to read the whole URL passing through the address bar and asssign it to a variable .Please help me

Member Avatar for MitkOK
0
97
Member Avatar for kodiak

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

Member Avatar for stymiee
0
845
Member Avatar for gattispilot

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 …

Member Avatar for gattispilot
0
340
Member Avatar for plusplus

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. …

Member Avatar for plusplus
0
81
Member Avatar for mayank_ati

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.....

Member Avatar for AV Manoharan
0
88
Member Avatar for ViRiPuFF

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 …

Member Avatar for debasisdas
0
104
Member Avatar for flaerpen

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

Member Avatar for vegaseat
0
8K

The End.