PDA

Click to See Complete Forum and Search --> : program not giving errors, need help


pinkpig
Aug 19th, 2005, 09:43 AM
Hello all....

I have a program that runs fine on w2k machines, XP's etc..... Never had a problem. Today i went to install it on a laptop and surprisingle the program doesnt work. I keep getting overflow and subscript out range errors. I dont get these on any other machines. This laptop has XP prof sp2 on it. I have another laptop of the same make (toshiba) same model, but the OS is different its XP Home edition sp2. It runs fine on that machine. I have another desktop system with XP prof on it and it works fine also. So the program is compatible with XP machines. Not sure why it doesnt work on this one laptop. Anyone have any ideas as to why it doesnt work?

thanks
Laura

penagate
Aug 19th, 2005, 10:01 AM
OK, subscript out of range errors are produced by arrays, and overflows either by division or values exceeding the range of the data type used. Find these in your code, and then see where they are used, and what would cause differences in their values between the two machines.

pinkpig
Aug 19th, 2005, 10:17 AM
ok i will check on that, but its weird it would cause overflow and out oranges on this machine only.

penagate
Aug 19th, 2005, 10:20 AM
Basically you need to isolate both
the conditions in which those specific errors would occur, and where; and
the differences in related conditions between the two machines, that would cause the errors.

StrangerInBeijing
Aug 22nd, 2005, 08:47 PM
Interesting problem pinkpig got there.

brings up the question...how do one ensure your programs will run on ANY machine out there?

Is the a .Net application?
If so, what references do you use?

Hack
Aug 23rd, 2005, 11:43 AM
Not sure why it doesnt work on this one laptop. Anyone have any ideas as to why it doesnt work?

thanks
LauraWhat makes this laptop different from the others?