By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 741 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Equivilent of Try (vb08) in Vb6

daniel aristidou
100+
P: 491
Hi guys is there an equivilent of try (vb08) in vb6
If you dont know what try does in vb08 ... it tries to do something but if there is an error it simply ignores it.
Try also contains commands like catch and finally.
It solves many problems of programming for vb08 so i wondered if it did exist in vb6 cuase i cant seem to find it.
If vb6 had a try function it would solve many problems posted in the forum.

Daniel(~_~)
Jan 4 '08 #1
Share this Question
Share on Google+
3 Replies


QVeen72
Expert 100+
P: 1,445
Hi,

There is no Equivalent of Try...Catch" block in VB6.
That concept was first introduced in VB.net 2005.
In VB6, all you have is "On Error GoTo" "On Error Resume Next", "On Error Goto 0" ..Statements

REgards
Veena
Jan 4 '08 #2

lotus18
100+
P: 866
Hi,

There is no Equivalent of Try...Catch" block in VB6.
That concept was first introduced in VB.net 2005.
In VB6, all you have is "On Error GoTo" "On Error Resume Next", "On Error Goto 0" ..Statements

REgards
Veena
Hi

Do these statements are still present in vb 2005? or in vb08?
Jan 4 '08 #3

QVeen72
Expert 100+
P: 1,445
Hi Lotus,

Yes all "On Error" statements are still supported by all versions of VB.net
Take a look @ this links :
On Error

Regards
Veena
Jan 4 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.