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 |
Explain about ADO control?
Is it possible to set a shortcut key for label?
What is the difference between Msgbox Statement and MsgboxQ function?
What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
What is the difference between procedure and functions in VB?
What is the error message that you would get if you try to assign "Null" to an integer variable?
Besides Standard Exe what are other types of projects in VB?
What is recordset in visual basic?
Explain about literals?
What is visual basic used for?
Specify technical & functional architecture of your last 2 projects.
How many objects resides in ADO ?
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)