473,408 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Equivilent of Try (vb08) in Vb6

daniel aristidou
491 256MB
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
3 2054
QVeen72
1,445 Expert 1GB
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
866 512MB
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
1,445 Expert 1GB
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

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

Similar topics

4
by: Darren | last post by:
Hi. I have a javascript menu system which uses the "elementFromPoint" function. However Netscape/Mozilla doesn't recognise this function. Does it have an equivilent? Thanks -- Darren
2
by: John Galt | last post by:
I was looking at a VB.NET program that is passing strings to method calls using ByVal. I was wondering if this is for a reason and, if so, should a C# conversion of code samples from VB.NET also...
4
by: trint | last post by:
I can't find the followings equivilent: flashPlayer.Movie = Application.StartupPath + @"/Cooler2.swf"; flashPlayer.FSCommand +=new...
2
by: Steve1 via DotNetMonster.com | last post by:
Hi all, I'm producing a data conversion app in C#. I have the code already written in VB6. I would to know if anyone knows of any links that shows the VB6 function/syntax equivilent in C#? ...
1
by: Ryan Ternier | last post by:
I'm trying to find an equivilent function to VB's DatePart function. I have a Year, Month, the Day of week (Sunday, monday etc.) and the week (week 1, week 2) and I need to find the date of that...
4
by: MikeLing | last post by:
Hi, String.IndexOf is case sensitive so I need to covert to lower before testing the string contains a given string. In VB this is: Instr(Lcase(StringToTest, "StringToCheckFor")) What is...
3
by: Abubakar | last post by:
Hi, I have used the Monitor/manualresetevent class in .net to sycnhronize threads in C#, right now I'm programming in pure c++ and win32 and want to acheive the same functionality. Whats the...
5
daniel aristidou
by: daniel aristidou | last post by:
Hi guys ..... I don't know about VB 2k5 but in VB08 there is an undo function on textboxes. I was wondering how to use it correctly with the Undo button in order to undo the last textbox change...
9
by: Apolakkiatis | last post by:
Is there such thing as having a user's input get an output somewhere through VB08, i'm experimenting around with it and i want to know if this is possible and how?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.