199,114 Archived Topics
Remove Filter ![]() | |
Hi, I need to press two times to save multiple records in different tables. I tried to use tran=con.begintransaction() to roll back transactions in case of error. But I didn't have the luck. So I tried in several sets of Try...catch...finally. After clicking submit button the first time, the page … | |
If I load a text file as the source of an IFrame, how do I save any client side changes to it back to the server? | |
Hello, I just need help converting this baby in plain old vanilla C. You can tell me the equivalents of C to C++ or whatever is more convenient for you. I'm compiling in MS Visual Studio C++ 2008 and it gives me mostly "undeclared identifiers" and "syntax errors". Thanks in … | |
I have been using the below SELECT string for some time and it has worked well, I now need to add a SUM and GROUP BY to this string and have not been able to get it to work. Dim selstrHISTORY As String = "SELECT history.route_no,history.Acct_no,history.Post_date,history.tran_code," & _ "history.Amount,SUM(history.Amount),SERVICE.parcel FROM … | |
I need a little help, I'm still new to the C++ stuff and this is for my class. Any help anyone could give me would be great. the code I have is as follows: ____________________________________________________________________________ [code] #include <iostream> using namespace std; int find_fib(int); int main(int argc, char* argv[]) { int … | |
Hi everyone I am what you would call a newbie to the web site matinance and development I am having a problem that is costing me a lot of lost business and any help be greatly appreciated ... I have a quote form the should be require our visitor to … | |
Hii All I am a biggner with java programming Now I assigned with a arogram to [COLOR="red"]"display multiple images and its name on particular location on a frame. (Hint Use Image class and ToolKit classes of java.awt.* package) "[/COLOR] plese help me to do this | |
I'm new to python and I'm having trouble trying to sort a list correctly. I have a map of strings->Word objects. A word object contains a list of all the places in a file where the word occurs. So in the Word class I have this method: [CODE] def _cmp_(self,other): … | |
There's a thread from a few years back that talks about creating a random image with link, random text piece of javascript...the code of which can be seen below. The problem is that the images do not coincide with the text. So an image will show...and the links on the … | |
Hi im trying to build this pay rate calculator but im getting a few errors: [code=cplusplus] #include <iostream> #include <string> #include <iomanip> using namespace std; struct Time{ int hr, min; char meridian; }; struct Garage{ string name; float rate; Time time_in, time_out; }; struct PayRecord{ string name; string position; int … | |
I'm trying to create a text based RPG, like pokemon. At the moment i'm trying to make a store to buy health and stuff in. Everytime you kill a monster you get a random amount of money. But how do i make the program say "You can't afford that" if … | |
I just downloaded Visual C++ 2008 Express Edition and I'm trying to edit some old code for a lab that I am TAing. I took all the code and put it in a new project, since several of the old libraries will change and since I don't have them on … | |
Hi I have server which is hosted in some other location, every day we have incremental backup and every week we have full backup done in the server itself, I need to copy (automate) all backup to my local server.. So I configured ftp server in my local server, now … | |
im trying to create a simple LAN Chat Program (as projectwork for school)....usage of filehandling is a must in all projects...since all the school computers are connected by LAN...i am creating one FILE and trying to input and read that file and display it on the screen to make it … | |
hi i want to extract lines from a binary image. i need source code in C# | |
Write a program that determines if an integer (input by the user) is odd or even. The program should also include functions that: 1) Determine if an even number is greater then 1000 2) Determine if an odd number is less then or equal to 199. The program should display … | |
I am using Python ver 2.5 and Iron Python 1.1.2. When I tried to run a script which imports xlwt and creates a workbook, huge memory is being used and it is never released unless the application running the script is closed. This memory problems happen only when using site-packages. … | |
OK so I need to make a card dealing program that takes random cards from a deck and dispenses a 5 card poker hand, but i also have to right functions to tell if its a flush straight royal flush, etc... I have no Idea what to do after this. … | |
Hey, i'm trying to use the method [ICODE]getValueAt(int row, int column)[/ICODE] from [ICODE]Class DefaultTableModel[/ICODE]. This method returns [B]Object[/B] value, but i want to get an [B]int[/B] value. so can anyone suggest what class to use in order to convert the [ICODE]Object [/ICODE]value to [ICODE]int[/ICODE] ? | |
I have been stuck for awhile trying to read the data in my file. As you can see, I haven't did much coding, but I would appreciate the assistance if someone can tell me what is wrong with the code. Thanks! Example of my input file: Kay, Harry 95 A … | |
hello there i have some problem with rgb. i am writing a color selector , 3 sliders demonstrate 3 color , red and green and blue , then the mix color appears in a div named '[COLOR="Green"]result[/COLOR]' in the end of page. consider i have 3 variables which indicates 3 … | |
Hi I was hoping somebody could help me I have installed the s60(nokia) java on my laptop and i am trying to get the helloworld program running. The javac and preverify are working. But when i go to the directory for the program helloworldplus i am getting 32 errors when … | |
hi there, is there any editor or compiler that explain us what the lines of codes we have written means and is there any editor or compiler that we can use with html & php.mail [EMAIL="deinsh5@hotmail.com"]me[/EMAIL] | |
I did fine on this in C, not sure what I'm doing wrong here. Probably something silly on my end. I'm receiving odd numbers in my program below. I have included the output below the program. Any assistance would be quite appreciated. Thanks! [code]#include <iostream> int main() { using namespace … | |
Could anyone explain me, how these two [B]*(ptr + i) = i; and *(ptr + (i - 1);[/B] process to get the result ? I don't understand that syntax, could anyone tell me in clearer way? [CODE=c] #include <stdio.h> #include <stdlib.h> int main() { int i; int *ptr; int number; … | |
My program runs fine. The only problem is at the bottom of my "[B]insertAt[/B]" function. I am trying to insert a number to the array. Whatever number I insert, it keeps appearing at the [B]front[/B] of the array instead of the position I want it to. For example: Original Array: … | |
Could there be any better ways to determine whether a number is prime or not particularly with respect to code execution. [code]#include <iostream.h> #include <conio.h> void PrimeTest(int); main() { int num; cout<<"Enter number: "; cin>>num; PrimeTest(num); getch(); } void PrimeTest(int n) { bool isPrime=true; for(short i=2;i<=(n-1);i++) { if (n%i==0) { … | |
Hi Everyone Ive created 2 cascading drop down lists that gets populated using the cascading drop down tool from the asp.net AJAX control toolkit, Their use is that the user will select what country they are from and then the approriate states will be displayed in the following drop down. … | |
[CODE]// file temperature table.cpp //conversion of celsius to fahrenheit temperature # include <iostream> # include <inomanip> using namespace std; int main() { const int CBEGIN = 10; const int CLIMIT = -5; const int CSTEP = 5; float fahrenheit; cout << " Celsius " << " Fahrenheit " << endl; … | |
H! Could any one please tell me with some proper explanation for: [B]Where dose Global, Static, Local, Register variables stored in memory?[/B] | |
I created a Class That takes gallons of fuel and Mileage then gives the total Mpg. I need it to give the mpg after both the gallons and mileage are entered and also the total Mpg. [code] Public Class MilesPerGallon Private mileCount As Integer Private gallonCount As Integer Private mileTotal … | |
[CODE]#include<iostream.h> #include<conio.h> #include<process.h> const int max=5; class stack { int s[max]; int top; int temp; public: stack (int j,int p){top=j;temp=p;} void push(int item); void pop(); void display(); }; void stack::push(int item) { if(top<4) { top++; s[top]=item; } else { cout<<"\nStack is full!"; } } void stack::pop() { if(top>-1) { cout<<"\nThe … | |
Suddenly there is at least one line in my Delphi 2007 source code that is ignored when I single step through the program. If I set a breakpoint on it the line goes all green and execution will not stop at the line. There is no blue dot to the … | |
hi i have a problems. can anyone help to settle this problem? for exp; a person will know about their status that he must pay the fines he borrow my pencil.after 3 days, he must pay the fines. 1 late day, he must pay rm1. it will also automatically calculate … | |
The task is i have a folder which has some text files i need to write a shell script which takes this folder as input and in the out put it should give me the filenames,lastmodified date,and the lastline in each particular file help me asap | |
[B]Hi, I'm new in java. Can someone help me with this problem. I've attempted it and the code is as shown after the questions:[/B] [B][U]Question:[/U][/B] 1. Create a new Movie class which has two properties, title and rating. 2. Create a new Cinema class, add method addMovieGoers which takes a … | |
I`M CREATING A PHP SITE,AND THERE IS A MEMBER PROFILE(myprofile.php). AFTER MEMBER LOG IN SESSION ARE REGISTERED. NOW THE PROBLEM COMES,IF MEMBER MOVES TO ANOTHER PAGE AND IF HE WANT TO BE BACK TO HIS PROFILE BY CLICKING THE BACK BUTTON,IT SHOWS THAT U MUST REFRESH A PAGE. I TRIED … | |
can anyone give me idea of how to makse a mail server .. preferable in java... thanks .. | |
Hey Underneith is my code, im having a problem where as when i click the delete button it does what i need it to do (delete a thead) however it also delete the 'title' fields from every other entry in my database ?? this is substantually weird can anyone help … | |
it isnt clrscreen; cause thats not working. Can anyone refresh my memory? thanks ![]() | |
Ok, sorry to bother but it seems I don't understand this properly ^^" I have a simple class, SLListNode, as follows [CODE=C++]template <class D> class SLListNode { public: static int Count; D Data; SLListNode *Next; SLListNode(void); ~SLListNode(void); }; template <class D> int SLListNode<D>::Count = 0; template <class D> SLListNode<D>::SLListNode(void) { … | |
where can i find tutorial on how to store data from turbo c to excell ? mars key, to mars and beyond | |
PLEASE HELP!!! I dont know how to do this problem. Every time i try it keeps coming out wrong. PLEASE HELP. Thank you... An internet service provider has three different subscription package for its customer: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are … | |
[B][U][COLOR="Red"]---URGENT---[/COLOR][/U][/B] Hai, I wrote a code : [CODE] <html> <body> <%response.write "<form action=http://localhost/rentry.asp?tid="& request("tid") &">"%> <textarea name="treply" rows="10" cols="100">Enter ur text here</textarea> <input type="Reset" name="subFThread" value="Reset"> <input type="submit" name="subFThread" value="Post"> </form> </body> </html> [/CODE] Here i wanted to send a piece of data (tid, that i extract from the earlier … | |
I've got a Perl program that is returning an incomplete result set. I can output the mySQL call that Perl is executing. In the perl program it gets less records back than if I copy and paste the statement into phpMyAdmin and execute it. Statement Example: SELECT brand,name,collection,dept FROM models2 … | |
Hello, if anyone can help with this I would much appreciate it. I am writing a macro within vba for excel, and i have successfully managed to use the shell command to call my batch file but, how would i program the rest of the macro to carry on when … | |
Hi members! Im finishing my project, and so Im remaining with one thing only. Im new in implementing crystal reports, so is there anyone who knows where 1) I can get a sample app. with code. 2) I need to use reasults from a dataset and display them on a … | |
Hellow, I am new in ASP and I have created a database in ms-access contains the fields - ID, name, designaton, photo and I uploaded all the datas. The images are in BMP. When I retrive the data by using ASP seach menthod, the id, name and designation only displayed. … | |
Hi all, I`m doing a project in ASP.net How to create a remember me cookie? code follows... pls correct the errors in it? [code=aspnet] protected void cmdlogin_Click(object sender, EventArgs e) { dt = obj.execquery("SELECT i_userid, u_username, u_password FROM user_tbl"); for (int i = 0; i < dt.Rows.Count; i++) { if … | |
Hey everyone, I am trying to convert the members of a string into their integer values, but not ASCII values. For instance, if I have the string "12", I want the following portion of the code to spit out 3, but instead it spits out (49+50=99) for the ASCII values. … |
The End.