Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695

    Peekaboo! Time for a break

    This has got to be the most classic message I've ever received.



    Time for a break

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Too bad that message wasn't some sort of secret "millionth customer" prize which would have seen you whisked away to Tahiti on a luxury jet. Because that would have been an entirely different kettle of fish.

  3. #3
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Agreed. But, it didn't have to mock me (I think "error" is there 3 times??).

    Ye 'ol AMS - lettin' ya' know you got a problem, sir.....

    I bet you couldn't duplicate that if you tried

    (and don't create a message on the fly either )

  4. #4
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    Well I managed to get the same error message the other day, 'wot the...',
    (A func I was calling got caught up in a loop, viola.)

    Hooray for 'undo' -restore or just real good debugging on my part

  5. #5
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Yep, you nailed it Eagle. That's what I did. Called a func inside a func...I knew it was a mistake, but the error message tickled me. It was like AMS was saying, "I don't know what else to tell ya'", LOL.

  6. #6
    Join Date
    Jan 2000
    Posts
    2,002
    Could one of you guys post some script that will make this happen? Perhaps we can look into why there is an error in the error handling and make the message more robust for the future.

  7. #7
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    I truly don't think that is was AMS' fault at all. I was "trying" to loop thru a table in a function at the time and it backfired on me. No one in their right mind would use this, but it will give you the message. I can't duplicate what I was originally doing at the time.

    function getError()
    result = File.Find("C:\\MyDir\\", "*.pdf", false, false, nil, nil);
    if result then
    --Do something here
    else
    getError()
    end
    error = Application.GetLastError();
    if (error ~= 0) then
    Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
    end
    end

    Ludicrous, I know, but you wanted it

  8. #8
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    Yep, 'same dog..different leg action', just plain no worky coding on my part.

    I too was looping through a table:

    for n, tdat in table do
    call another func
    end
    recall this table func (when I removed this line) Error and Error Message gone.

    called the same func inside same func..inappropriately, could'nt finish what it
    was doing..I'm glad the Error message came up..stopped the App from crash and burn.
    Last edited by Eagle; 11-01-2005 at 08:35 AM.

Similar Threads

  1. Adding Date and Time to a file after creating a backup
    By JoeDul in forum Setup Factory 7.0
    Replies: 2
    Last Post: 07-22-2005, 01:56 PM
  2. Media Player plugin, playlists, total/track time
    By VikTOP in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 12-04-2004, 04:28 PM
  3. How to control loop time on this code?
    By pierre in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 04-29-2004, 07:02 AM
  4. Design Time actions
    By NetSeeker in forum Setup Factory 6.0
    Replies: 0
    Last Post: 12-18-2003, 10:07 AM
  5. HOWTO: Make a Program Run Every Time the System Starts
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-01-2002, 09:44 AM

Posting Permissions

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