|
-
Nov 2nd, 2000, 01:59 PM
#1
Thread Starter
Member
Hi,
could some one please tell me how to write error handling procedures more efficiently? rather then putting an error handling statement within each function or sub like (each error handling code will be the same):
Public Sub test()
on error goto hell
Some code goes here
exit sub
:hell
error handling code
End Sub
Public Sub testa()
on error goto hell
Some code goes here
exit sub
:hell
error handling code
End Sub
thanx
Thanx, for your reply(s)
Zhang Tian Hao
Visual Studio Enterprise 6.0 SP 4
[email protected]
-
Nov 2nd, 2000, 02:02 PM
#2
Fanatic Member
I think it's not possible with vb6. Maybe it's possible with vb7.
-
Nov 2nd, 2000, 02:08 PM
#3
Thread Starter
Member
no this is a sign os a "bad" programming language... i'm writing an app with lots of calls to the api so error handling will become tedious... 
well i guess i'll have to wait for VB7
Thanx, for your reply(s)
Zhang Tian Hao
Visual Studio Enterprise 6.0 SP 4
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|