VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



OnError goto hell

by __ (1 Submission)
Category: Complete Applications
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

If the user don't know why use on error, well...
forget this code.
comments, please!
This program read your project(.vbp) insert ON ERROR in every procedure and save it back. Never more forget one piece of code unprotected.
And if some error happen after this, the new code save the error number, place in the code & text into one LOGFile. It save the screen too. This can help you to find the reason of the problem and kill it.
You MUST return some value in FUNCTIONS.
So, the program add one reminder to you into the new protected code.
I can't guess what you wanna return in each FUNCTION.
Do what you think is better for the returned value.

Inputs
Your project in visual basic 6
Code Returns
The same as input, but with all procedures protected by on error.
Side Effects
.
API Declarations
Some. To save the screen area only.

Rate OnError goto hell

Download OnError goto hell

Download OnError goto hell (11 KB)

OnError goto hell Comments

No comments have been posted about OnError goto hell. Why not be the first to post a comment about OnError goto hell.

Post your comment

Subject:
Message:
0/1000 characters