VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Error Handler

by Will (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 12th September 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Error Handler

API Declarations


Public ErrorNo
Public ERRORDAT


Rate Error Handler



If ErrorYes = "Yes" Then
    MsgBox "An error has occured. This program will terminate. Error Information" + ERRORDAT, vbCritical, "Error Handler"
        Select Case Msg
            Case 3 'Abort
                End
    End Select
Else

End If
End Sub


Download this snippet    Add to My Saved Code

Error Handler Comments

No comments have been posted about Error Handler. Why not be the first to post a comment about Error Handler.

Post your comment

Subject:
Message:
0/1000 characters