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 are 3 main differences between flexgrid control and dbgrid control?
what is the Difference between Linked Object and Embedded Object?
Write the steps in Creating ActiveX Dll and Active Exe?
What is the use of command Object?What are the various types of variables?
Is it possible to call oracle database through ADO control or Object?
What about DLL calls that require callbacks?
What is "NULL"?
which method used to move a recordset pointer in nth position in DAG?
What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?
How to find size of the file. Which method or function is used to occomplish this?
How can you filter out specific type of file using file system controls?
What are the new events in textbox that has been included in VB ?
Scope of API's can be of types, what are they?
Give brief description about class?
what are the Types of LockEdits in RDO?