How does the following statements work?
On Error Goto 0
Answer Posted / mudit kumar bachhawat
whenever we handle any error then in error it performs its given tasks
for eg:
on error goto abc
msgbox day("abc")
exit sub
abc:
msgbox "Error"
this will message box on error
but in On error goto 0 is used to raise again error in VB
for eg
sub form_load
on error resume next
msgbox day("ABC")
on error goto 0
msgbox day("BBB")
end sub
this will raise error in "msgbox day("BBB")" line
Thank u
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is ado data control in vb6 0?
Where can I get good up-to-date information about VB?
what is the Property used to add a menus at runtime?
Explain Types of DBCombo boxes?
How do I implement an accelerator key for a text box?
What is the difference between change event in normal combobox and dbcombobox?
DHTML Is used for what?
Explain about manipulating the recordset object
Types of LockEdits in DAO? 51 .Types of Recordsets.
which property of menu cannot be set at run time.
How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?
How would you access objects created in ActiveX Exe and ActiveX Dll
How do I speed up control property access?
Explain about ADO control?
What type of databases you can access through ADO Data Access Object?