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 |
Dim X,Y as Integer Here what is the datatype of X and Y ?
What is recordset in visual basic?
Where can I get updated VB and other Microsoft files?
What is Mixed Cursors?
What is difference between datagrid and flexgrid?
How to get Cursor position using API?
What is DDE?
Is visual basic easy?
What is passing by reference?
What is meant by Establish Connection in RDO?
What are some methods you can use to send data from one VB executable to another one?
What is the use of Scalewidth and ScaleHeight Proeperty?
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)