Results 1 to 3 of 3

Thread: [RESOLVED] Error Reporting

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    98

    Resolved [RESOLVED] Error Reporting

    Hey all,
    I've googled, but I quit. I'm working on this project right now, but I can't run the program on my machine (there's some access issues and such). Anyways, so basically, I run upstairs to this users computer, run the program, grab the log, and go back downstairs. Normally, this would work fine, but I'm getting errors, and I'm horribly lost as to what the problem could be. Please note, I'm running an .exe on her machine, not a vb project.

    So anyways, is there a way to get a vb style error report? Like... "This error occurred at this line" as opposed to just a general error, like "Variable mismatch."
    Thanks all,
    Do us all a favour and:
    - Try to post a solution to a problem even if you didn't get it hear in your thread
    - Mark a thread resolved when it happens
    - Rate threads if they are *helpful.* It's kinda pointless, but fun.
    - Give me money

    Also, be good people:
    Please Help Us To Save Ana

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Error Reporting

    Yep, use an error handler (if you don't know how, see the article in our Classic VB FAQs) and add line numbers to your code - you can then read ERL to get the line number.

    You don't need to add line numbers manually tho, MZTools (link in my signature) can do it for you in a couple of clicks of the mouse.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    98

    Re: Error Reporting

    Seems like that'll do the trick. Thanks. I'll resolve when I know for sure that's what I was looking for.
    Do us all a favour and:
    - Try to post a solution to a problem even if you didn't get it hear in your thread
    - Mark a thread resolved when it happens
    - Rate threads if they are *helpful.* It's kinda pointless, but fun.
    - Give me money

    Also, be good people:
    Please Help Us To Save Ana

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