199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wsee

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 …

Member Avatar for serkan sendur
0
126
Member Avatar for SuperPinkster

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?

Member Avatar for serkan sendur
0
62
Member Avatar for T'Scoopz

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 …

Member Avatar for T'Scoopz
0
163
Member Avatar for jdoneth

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 …

Member Avatar for timothybard
0
98
Member Avatar for cerb63

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 …

Member Avatar for Salem
0
216
Member Avatar for Grasshopper_

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 …

Member Avatar for buddylee17
0
118
Member Avatar for rthcupid

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

Member Avatar for Ezzaral
0
143
Member Avatar for jcafaro10

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

Member Avatar for Gribouillis
0
107
Member Avatar for rjrasmussen

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 …

Member Avatar for rjrasmussen
0
450
Member Avatar for Nasi23

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 …

Member Avatar for stilllearning
0
192
Member Avatar for tatainti55

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 …

Member Avatar for tatainti55
0
175
Member Avatar for teddybouch

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 …

Member Avatar for Sci@phy
0
782
Member Avatar for uravikishore

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 …

Member Avatar for uravikishore
0
121
Member Avatar for novice420

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 …

Member Avatar for Salem
0
199
Member Avatar for mariashahid

hi i want to extract lines from a binary image. i need source code in C#

Member Avatar for LizR
0
72
Member Avatar for wneil22

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 …

Member Avatar for Salem
0
94
Member Avatar for rajaram_l20

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

Member Avatar for Gribouillis
0
85
Member Avatar for andrewama

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

Member Avatar for andrewama
0
2K
Member Avatar for Blackeagle

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

Member Avatar for Ezzaral
0
135
Member Avatar for NinjaLink

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 …

Member Avatar for VernonDozier
0
109
Member Avatar for mzd12111

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 …

Member Avatar for mzd12111
0
277
Member Avatar for pablo25

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 …

Member Avatar for pablo25
0
198
Member Avatar for dinesh5

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]

Member Avatar for jlm699
0
57
Member Avatar for JoeRoss578

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 …

Member Avatar for sidatra79
0
204
Member Avatar for J-son

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

Member Avatar for J-son
0
133
Member Avatar for NinjaLink

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

Member Avatar for NinjaLink
0
415
Member Avatar for cplusplusgeek

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

Member Avatar for sidatra79
0
185
Member Avatar for drinksbreak

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

0
253
Member Avatar for Se7Olutionyg

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

Member Avatar for sidatra79
0
101
Member Avatar for cutedipti

H! Could any one please tell me with some proper explanation for: [B]Where dose Global, Static, Local, Register variables stored in memory?[/B]

Member Avatar for Narue
0
208
Member Avatar for noobguy

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 …

Member Avatar for jireh
0
88
Member Avatar for jammy's

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

Member Avatar for Denniz
0
330
Member Avatar for AKJo

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 …

Member Avatar for LizR
0
110
Member Avatar for sarifah

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 …

Member Avatar for Teme64
0
102
Member Avatar for gamegod007

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

Member Avatar for noobguy
0
126
Member Avatar for janamrob

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

Member Avatar for javaAddict
0
4K
Member Avatar for mrcniceguy

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 …

Member Avatar for mrcniceguy
0
92
Member Avatar for nidhi.juneja

can anyone give me idea of how to makse a mail server .. preferable in java... thanks ..

Member Avatar for stultuske
0
92
Member Avatar for Designer_101

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 …

Member Avatar for Shanti C
0
78
Member Avatar for clutchkiller

it isnt clrscreen; cause thats not working. Can anyone refresh my memory? thanks

Member Avatar for iamthwee
0
98
Member Avatar for mrboolf

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

Member Avatar for mrboolf
0
84
Member Avatar for mars key

where can i find tutorial on how to store data from turbo c to excell ? mars key, to mars and beyond

Member Avatar for mars key
0
70
Member Avatar for laxgrl22

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 …

Member Avatar for Denniz
0
93
Member Avatar for RahulV

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

Member Avatar for RahulV
0
299
Member Avatar for consultant1027

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 …

Member Avatar for consultant1027
0
142
Member Avatar for jammiedude

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 …

Member Avatar for jammiedude
0
222
Member Avatar for liquoriser21

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 …

Member Avatar for liquoriser21
0
108
Member Avatar for bskumar.bala

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

Member Avatar for bskumar.bala
0
151
Member Avatar for Robins Antony

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 …

Member Avatar for serkan sendur
0
117
Member Avatar for winky

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

Member Avatar for javaAddict
0
117

The End.