VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Useful for wanting to find an associated error decription with its error number. Useful for excepti

by Brandon (46 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 23rd March 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Useful for wanting to find an associated error decription with its error number. Useful for exception handling, since you might want to locate

Rate Useful for wanting to find an associated error decription with its error number. Useful for excepti



'button control on your form.  Note that this program will
'only be executed once, since an error will be raised, the
'purpose is for you to view all syntax and runtime errors
'given its error number, you can view any error description,
'this would be useful for when you may wanna run a certain
'runtime or syntax error when writing other programs.

ErrorNumber = InputBox("Enter the error number you wish to view it's description")
Err.Raise (ErrorNumber)



Download this snippet    Add to My Saved Code

Useful for wanting to find an associated error decription with its error number. Useful for excepti Comments

No comments have been posted about Useful for wanting to find an associated error decription with its error number. Useful for excepti. Why not be the first to post a comment about Useful for wanting to find an associated error decription with its error number. Useful for excepti.

Post your comment

Subject:
Message:
0/1000 characters