199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.Wobbles

First I will show you my sql, just in case it is some obvious syntax error on my part: [code] "INSERT INTO tblResults(status, enthusiasm, communication, knowledge, interaction, organization, responsiveness, instID, comment)" & _ "VALUES(""" & status & """, """ & enthusiasmB & """, """ & communicationB & """, """ & …

Member Avatar for Mr.Wobbles
0
92
Member Avatar for sreenathvp

[B]Please help me to read out each character of a particular line in a rich textbox. [/B] Eg: 6 11 345 I need to read 6 first and then 11 and then 345 etc etc..

Member Avatar for sreenathvp
0
91
Member Avatar for a496761

I'm typically a server-side programmer, but I've been asked to figure out how to replicate a javascript/dhtml feature. I think my biggest problem is I don't know what this is called, so I can't Google it! :) Anyways, I am trying to replicate [url]http://amfam.com/[/url] when you click on "Life & …

Member Avatar for a496761
0
75
Member Avatar for nezumi4

I am to open a text file, copy it, increment its ASCI characters by ten and then write it into a created text file. This is the code that I have so far.(visual c++ 6.0). The problem is that I cannot increment the characters. It gives me and overwrites my …

Member Avatar for Lerner
0
101
Member Avatar for Ankita B

Hi, Im trying to modify user information on my site.for this im using java and jsp.when the user enters id,his info stored in db is to be retrieved and displayed in corresponding textboxes. I know how to access db but dont know how to put the value retrieved into textboxes …

Member Avatar for peter_budo
0
256
Member Avatar for new_2_java

Hi all, I have a program which bulk-downloads files from a remote server. The program runs in console (I am not using SWING or AWT). I would like to show progres (e.g. progress bar) while the files are being downloaded. Can someone point me to right direction... which classes to …

Member Avatar for Ezzaral
0
266
Member Avatar for abhi_elementx

So so so....finally I have learnt to create a DLL in DEV C++ (Open src compiler with IDE) Now I have also created a DLL in VC++ and I am trying to call the DLL in my DEV c++ EXE project. I have correctly specified the library file (.lib) of …

Member Avatar for zhelih
0
343
Member Avatar for aminit

Hello all : I 've created a simple form , when it's started a clip cursor called, but when I pressing by keyboard(Alt+Tab) for (moving between opened windows) , this clipping is canceled, Is there any idea to prevent this or stop it?? Thanks in advance.....

Member Avatar for aminit
0
101
Member Avatar for linux0id

Hello everyone! I have seen some code where some variable gets inserted into string throught the % sign, like so - [CODE]("insert into songs values (%Q ,%d, %d, %Q, %Q, %Q, ... ", someInt, someChar, someChar... )[/CODE] I have tried to look it up in google but I do not …

Member Avatar for linux0id
0
13K
Member Avatar for Web_Student

Hello. I am trying to get the difference in time between two fields in the database. One is start_time and the other one is stop_time. They are in "0000-00-00 00:00:00" format. I want to do this in php/mysql. I already got the times pulling from the database, just need the …

Member Avatar for Web_Student
0
95
Member Avatar for keynan_toht17
Member Avatar for nurulshidanoni

How to arrange the number properly? [code=C++] /*------------------- Two dimensional array -------------------*/ #include<iostream.h> #include<fstream.h> #include<iomanip.h> ifstream infile("STA83EXM.txt"); void main() { const int row = 140; const int column = 140; int matrix[row] [column]; //**************creates Matrix**************** int num; for(int i = 0; i<=row-1; i++) { for(int j = 0; j<=column-1; j++) …

Member Avatar for WaltP
0
113
Member Avatar for dami06

I'm trying to create a webpage where by I have the questions in the database instead of it being hard code which is writing it down in php. How do i go about that. Just a simple page which will have a question and a blank box where the answer …

Member Avatar for nav33n
0
650
Member Avatar for Wiizl

I'm sorry if it's not the right place for this question, but I really need help on this one. The problem is quite simple- I've got many text fields that user has to fill. The thing I can't figure out is how NOT to allow go to next field if …

Member Avatar for Wiizl
0
310
Member Avatar for newport

I'm trying to make a program that converts octal numbers to decimal numbers. I know the concept is taking the %10 of the number to get the first digit, /10 the number then take the %10 to get the second digit and multiplying by increase powers of 8, but I …

Member Avatar for Narue
0
173
Member Avatar for lordx78

[code=php] <?php //ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Cycle Tracks Portal - Validation Page</title> <style type="text/css" media="all">@import "images/style.css"; </style> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" /> <script language="javascript"> redirTime = "5000"; redirURL = "index.php"; function redirTimer() { self.setTimeout("self.location.href redirURL;",redirTime); } </script> </head> <body> <?php …

Member Avatar for nav33n
0
180
Member Avatar for x2per14

hi, i am a newbie in web programming. i want to know how to add common controls in asp form.. i am using dreamweaver.. for example checkbox(although is not included in common controls on vb),like listview, dtpicker,status bar, progess bar..pls help me.. i will appreciate it.. note: asp only not …

Member Avatar for SheSaidImaPregy
0
125
Member Avatar for dragonheart

i am using VB with access. i need to load the values of a particular field in a table to a listbox . i used the following coding in the Form_Load event. [COLOR="Green"]Set db = New Connection db.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;" & "data source= " & App.Path & "\test.mdb;" Set rs = …

Member Avatar for dragonheart
0
701
Member Avatar for dudegio

Hello everyone! Im new to ASP and this is my first time to work with it. Pls help me with my problem. I was given a tasks to edit an existing website (for 2 days only). One of those is sending e-mails based on a queried data from a database. …

Member Avatar for x2per14
0
184
Member Avatar for majestic0110

Hi all. just wondered if there was a quick and easy way (or good tutoriaL) to validate user input (on a login control) against a SQL database where the users username and password credentials are stored. Any suggestions will be greatly appreciated! Thanks for your time.

Member Avatar for majestic0110
0
343
Member Avatar for Thew

Hi, I am using Microsoft Visual C++ 9.0 Express Edition. In File > New > Project, you can select Win32 group and then the Win32 Application. I think, when you use this in your project then the compiled program should run on Windows without .NET Framework too. How is it? …

Member Avatar for vmanes
0
78
Member Avatar for dc_24l

hi there i have a text box and a command button in a C# project and i want to access the command prompt with it whenever i input like dir in the textbox and click on the command button the dir will go to the command prompt of windows command …

Member Avatar for Ramy Mahrous
0
391
Member Avatar for vishalkhialani

Hi, I am getting a syntax error : \Sainath.C(24) : error C2059: syntax error : '__stdcall' for the below code: [code=c++] int main() { COORD WINAPI GetLargestConsoleWindowSize( __in HANDLE hConsoleOutput ); printf("%d",x.WINAPI); // I know its the printf statement which is wrong as only when I wrote it I got …

Member Avatar for vishalkhialani
0
469
Member Avatar for bhuman

Hi, I'm new to c#.net world.... i'm currently in doing a program , that has to take the prefix of the 2 textfile (which has the system time as the prefix)., and compare the time of creation of second file with first file. example : the filename would be like... …

Member Avatar for Ramy Mahrous
0
80
Member Avatar for C41R0

374 / 9 = 41.6 (from calculator ) if in c++, it will become 374 / 9 = 41.555 how do i make the final calculation become 41.6 ? i've tried ceil() and setprecision(1) , the answer i got quite big different compare with the answer from calculator. answer from …

Member Avatar for C41R0
0
208
Member Avatar for sgw

In the following simple program, [CODE]int main() { string name; char sex; cout << "enter M or F: "; cin.get(sex); cout << "enter name: "; [B]getline(cin, name);[/B] cout << name << " is " << sex << endl; return 0; }[/CODE] after the user typed in a character "M" or …

Member Avatar for Narue
0
258
Member Avatar for palej

Hey folks, I have this problem, lets take this text from from 24ways.org just for example-> [QUOTE]Elbow room Paying attention to your typography is important, but it’s not just about making it look nice. Careful use of the line-height property can make your text more readable, which helps everyone, but …

Member Avatar for SheSaidImaPregy
0
116
Member Avatar for serkan sendur

what is the required t-sql for getting all the child categories in a parent category? my table is like this : id | name | parentid

Member Avatar for serkan sendur
0
178
Member Avatar for drsmith

I am using FCKeditor for my Drupal website. For whatever reason, FCKeditor does not allow a file to be overwritten...it will rename it instead which is no good for static links. I have found some code I think is responsible for renaming and have commented it out. [code] while ( …

0
83
Member Avatar for jamello

Hi there ladies and gentlemen! I have this code that works in ASP.NET 1.1 but I could not find its equivalent in v 2.0. I had expected it to work having the usual backward compatibility preached by microsoft in mind. But I am yet to succeed. The code 'translation' worked …

Member Avatar for jamello
0
247
Member Avatar for VersEtreOuNe

[COLOR="Red"][B]Circle.h[/B][/COLOR] [code=c++] #ifndef CIRCLE_H #define CIRCLE_H #include <iostream> #include <fstream> using namespace std; class Circle { friend ostream& operator <<(ostream& output, const Circle& aCircle); friend istream& operator >>(istream& input, Circle& aCircle); public: Circle(); Circle(double radius, int id); Circle(const Circle& aCircle); void SetCircleRadius(double radius) { _circleRadius = radius; } void SetCircleId(int …

Member Avatar for vmanes
0
103
Member Avatar for jaepi

Hello there. Is there someone kind enough to please explain to me the difference of using fork() and exec() with system() in invoking a process. I just want to know their difference according to well experienced with processes here. And what is the most efficient in invoking a process between …

Member Avatar for Nick Evan
0
323
Member Avatar for guitarrick

Got most of this done. I just can't see why my advance_date() method is only partially working...I think it's something with all my bools....but I don't know how else to get this condition met. Project is to Design, implement, and test an ADT that represents a calendar date..Integers are fine...include …

Member Avatar for guitarrick
0
268
Member Avatar for Bern

Good afternoon all, I'm pretty new to VB.Net. Trying to get my head round using stored procedures to manipulate data in a database at the moment. I have managed to use a stored procedure (via my windows form) to insert data into a database but I am struggling to retreive …

Member Avatar for Bern
0
103
Member Avatar for amin007

hi, my name is amin this is output array $_POST [code] Array ( [status_batch] => Array ( [1001] => Verify [1002] => Verify [2001] => Verify [2002] => Belum Batch [2003] => Belum Batch [2004] => Belum Batch [2005] => Belum Batch [2006] => Belum Batch [2007] => Belum Batch …

Member Avatar for amin007
0
108
Member Avatar for TSharma

i am trying out merge sort. i have made two functions sort and merge; i am calling merge recursively. i think my sort function is working fine. the problem lies with merge function. in merge function i am dividing the array using recursive calls. it ends when lb = = …

Member Avatar for TSharma
0
135
Member Avatar for lordx78

[code=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Test </title> <script language='javascript'> redirTime = "5000"; redirURL = "/common/index.php"; function redirTimer() { self.setTimeout("self.location.href redirURL;",redirTime); } </script> </head> <body> <script language='javascript'> onload="redirTimer()" </script> </body> </html> [/code]

Member Avatar for lordx78
0
95
Member Avatar for risa

Scenario: I hav set a timer using SetTimer(),after timeout my application gets a WM_TIMER and it exits. I Want: to pause this timer before a particular process and again restart it when the process gets over,so tht there is no timeout during this process and my application doesnt exit during …

Member Avatar for Ancient Dragon
0
312
Member Avatar for jimJohnson

Guys I am completely lost....what I want to do is make a loop to where the code im about to show. The issue is I need when I type a negative number in hotdogs, tacos, etc to make me type an error message and stop the code...here is my code …

Member Avatar for jimJohnson
0
150
Member Avatar for linda.kean

I am writing a little program to create an array and then to sum the integers in the array. I am also suffering a stomach flu, and I don't have the brainpower to figure out how to call the two methods I wrote to create the array and then sum …

Member Avatar for stultuske
0
161
Member Avatar for kabo

can sumbody help in solving the problem below: Write a Java application (call your class IntegerPairSearch) to do the following. ● It should get a file name and a positive integer N from the command line. ● It should then determine all pairs of positive integers, (a, b), such that …

Member Avatar for stultuske
0
134
Member Avatar for Venom Rush

Hi everyone I have a csv file with data such as first name, surname, tel etc and I'd like to populate a table inside my MySQL database automatically. So far I have this but I keep getting an access denied error and I don't know why: [code=php]<?php $server = 'localhost'; …

Member Avatar for nav33n
0
585
Member Avatar for shrutijadhav

How to create and load shared libraries in fedora 7 for Java as frontend and C as backend We are doing project for which we want Java as frontend and backend is C. We are using JNI to link Java and C but we are not getting which commands are …

Member Avatar for shrutijadhav
0
132
Member Avatar for winky

Hey everybody, My current Networking teacher gave us sample code to show us how socket programming works. Problem is, I haven't had to use JAVA in so forever, let alone ECLIPSE (although I hear it's pretty nice). So, I was wondering how to get the program to work. I have …

Member Avatar for DangerDev
0
475
Member Avatar for kalpana0611

hi everyone I am writing a program using C++. The program converts a text file into a xml file. it reads in one input file and outputs it to another file. The thing is I have 10 folder and each of these 10 folders consists of 58 text files, I …

Member Avatar for kalpana0611
0
204
Member Avatar for asafoatse

as a beginner i try my hand to write different small codes to console application . but am having a prolbem here due to the fact that am not so aspect as yet. can some one help me write it well. i want my code to output the name of …

Member Avatar for hollystyles
0
100
Member Avatar for evilseed187

I was creating a hangman game for my intermidate programming class when i was combining all my classes together within my program and zipped it up to submit to my teacher she said that my .cpp and .h files where not in the program can anyone tell me what might …

Member Avatar for Nick Evan
0
94
Member Avatar for jaasaria

hi, i have a project here that can insert the picture in the database by binary. but the problem is to search it using the "find" this is the codes that i upload in the net... Dim sourceFile As Integer sourceFile = FreeFile Open fileName For Binary Access Read As …

Member Avatar for jaasaria
0
91
Member Avatar for ebabes

Can anybody help me identify the code in ASP.Net that is equivalent to MessageBox (C#) or Alert (JSCript). I need a message box that will pop up when a certain condition is not fulfilled. Your response is highly appreciated.

Member Avatar for serkan sendur
0
608
Member Avatar for umapathyperumal
Member Avatar for dilipv
0
113

The End.