02-14-2011, 06:07 PM
hi priya,
As far as i know, there is no thro object in VBScript.
In java throw object is used to throw an error.
In vbScript we use the
on error resume next ' to enable error handling
if err.number <> 0 ' indicating an error has come up
---
----
on error goto 0 ' to disable error handling.
As far as i know, there is no thro object in VBScript.
In java throw object is used to throw an error.
In vbScript we use the
on error resume next ' to enable error handling
if err.number <> 0 ' indicating an error has come up
---
----
on error goto 0 ' to disable error handling.