Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling
Message
From
16/01/2003 14:51:47
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
16/01/2003 14:23:05
Adrian Demaestri
Ministerio de Economia de La Prov. de Ba
La Plata, Argentina
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00742571
Message ID:
00742583
Views:
15
Unless you want to use a third party product I believe the only choice you have is to go back to BASIC days and number line by line. You can then type into the line number that raised the error through the Erl variable. Anyone else, feel free to correct me if you know of an easier way.
Private Sub Command1_Click()

On Error GoTo err_handler

1   Label1.Caption = 1 + 1
2   Label2.Caption = 2 * 7
3   Label3.Caption = 6 / 0
4   Label4.Caption = 3 + 5
5   Exit Sub

err_handler:
100 Debug.Print Erl
101 Stop

End Sub
Previous
Reply
Map
View

Click here to load this message in the networking platform