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 are the important components of OLEDB?
Explain Get, Let, Set Properties.
How would you run your ActiveX Document Dll?
Which property of menu cannot be set at run time?
What are the types of Error? In which areas the Error occurs?
How to get Cursor position using API?
What do you know about user forms.
How do I prevent multiple instances of my program?
Difference between Recordset and Querydef?
2 Answers 3i Infotech, IBM, TCS,
Write the correct order of execution of following form?s events: initialization, Load, Activate, Refresh , Paint
What is the use of Scalewidth and ScaleHeight Proeperty?
HTML stands for What? Use of HTML ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)