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 |
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.
What areTypes of compatability in VB and their usage ?
How would you use ActiveX Dll and ActiveX Exe in your application?
How does the following statements work? On Error Resume Next
What are the new events in textbox that has been included in VB6.0
Can you create a updatecascade, Deletecascade relation in Ms- Access? If no, give on eample.
List out controls which does not have events ?
Data Control missing from toolbox when I use VB under NT3.5. Why?
How can you Add API functions to your Application?
How would you add column headers in listview control?
What is "Reserved Error -1209"?
What are the types of line styles available in Treeview Control?