Results 1 to 6 of 6

Thread: program not giving errors, need help

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    33

    program not giving errors, need help

    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

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: program not giving errors, need help

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    33

    Re: program not giving errors, need help

    ok i will check on that, but its weird it would cause overflow and out oranges on this machine only.

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: program not giving errors, need help

    Basically you need to isolate both
    1. the conditions in which those specific errors would occur, and where; and
    2. the differences in related conditions between the two machines, that would cause the errors.

  5. #5
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: program not giving errors, need help

    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?
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: program not giving errors, need help

    Quote Originally Posted by pinkpig
    Not sure why it doesnt work on this one laptop. Anyone have any ideas as to why it doesnt work?

    thanks
    Laura
    What makes this laptop different from the others?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width