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 |
What is the use of Scalewidth and ScaleHeight Proeperty?
Draw Sequence Modal of RDO? Explain.
how many no of controls in form?
16 Answers AIMS, Airex Logistics,
what are the types of combo box?
What are different types of locks in ADODB?
How to find the current record position in data control?
How would you activate animation control?
Why API functions are Required?
what is the Difference between Tabletype and Snapshot?
What is FireHouse Cursors?
What does the Implements statement do?
How do I implement an incremental search in list/dir/combo/file boxes?