How does the following statements work?
On Error Goto 0
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / saru
on error goto om
msbox("This line has error") ' if this statement has
error
msgbox("This line has error") ' if this statement has error
om:
msgbox("An error has occured")
Is This Answer Correct ? | 1 Yes | 1 No |
How do I change the color of a form in visual basic?
Scope of API's can be of types, what are they?
Whether HTML supports multimedia: and document links?
Types of cursors in RDO.
How can I create a VBX?
What do you mean by Databound Controls? Explain.
What is file in vb?
what is differece b/w Module and class Modules in vb6? thanks
How about Access 2.0 compatibility?
What are the types of Instancing property that can be set for a Class in a ActiveX DLL and ActiveX EXE?
How do I add a form in visual basic?
What is the use of command Object?