I\'m trying the following code:
Try \' DOESN\'T WORK
Throw 2 \' How do I throw an exception?
Catch ex
\'What do I do here?
End Try
>
VBScript doesn't have Try/Catch. (VBScript language reference. If it had Try, it would be listed in the Statements section.)
On Error Resume Next
is the only error handling in VBScript. Sorry. If you want try/catch, JScript is an option. It's supported everywhere that VBScript is and has the same capabilities.