by Brandon (46 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 4th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
A better way to use exception handling to view what errors are possible in Visual Basic, each error number will allow to you view its error
Private Sub Command1_Click()
On Error GoTo Exception:
ErrorNumber = InputBox("Enter the number for the error you wish to view", "Error Number")
Err.Raise (ErrorNumber)
Exception:
MsgBox Err.Description
End Sub
No comments have been posted about A better way to use exception handling to view what errors are possible in Visual Basic, each error. Why not be the first to post a comment about A better way to use exception handling to view what errors are possible in Visual Basic, each error.