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
Which type of object requires this object?
Explain the working of templates?
Is visual basic still used?
How do I make my applications screen-resolution independent?
What is instantiating?
what is the Difference between Tabletype and Snapshot?
Is there any Edit method in ADO Data Access method?
What do you know about user forms.
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
What is the use of Data Form Wizard?
What are the uses of List View Control?
How would you use ActiveX Dll and ActiveX Exe in your application?
What is DDE?
___ is the control used to call a windows application.
What is ActiveX Dll and ActiveX Exe?