|
-
Mar 8th, 2007, 02:29 PM
#1
Thread Starter
Lively Member
[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
-
Mar 8th, 2007, 02:37 PM
#2
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.
-
Mar 8th, 2007, 02:48 PM
#3
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|