199,114 Archived Topics
Remove Filter ![]() | |
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 & """, """ & … | |
[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.. | |
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 & … | |
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 … | |
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 … | |
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 … | |
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 … | |
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..... | |
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 … | |
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 … | |
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++) … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 = … | |
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. … | |
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. | |
![]() | 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? … |
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 … | |
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 … | |
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... … | |
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 … | |
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 … | |
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 … | |
what is the required t-sql for getting all the child categories in a parent category? my table is like this : id | name | parentid | |
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 ( … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = = … | |
[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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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'; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
How can i create menu bar in asp.net particularly in asp.net1.1(.net framework2003) |
The End.