lsmyth1717
Programmer
Does anyone know how to do exception handling in vb6. Do you use the Try Catch blocks. If so can someone show me a very quick example of this
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub ErrorHandlingExample()
On Error Goto ErrorHandler
Dim iTest as Integer
iTest = iTest / 0
Exit Sub
ErrorHandler:
Call MsgBox(Err.Description)
End Sub