Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vbscript error handling

Posted on 2015-01-03
4
Medium Priority
?
117 Views
Last Modified: 2015-01-14
Could anyone please point me in the direction of vbscript error handling routine(s)?
I am working to develop some via books and google but would greatly appreciate any advice and recommendations.  Thanks again in advance, you guys are always helpful.
0
Comment
Question by:hardrock95
  • 2
4 Comments
 
LVL 71

Accepted Solution

by:
Qlemo earned 2000 total points
ID: 40530118
In VBS your options are very restricted. All you can use is on error resume next. Something like:
On Error Resume Next
Err.Clear
DoSomething with Error
If Err.Number <> 0 Then
   ' Use Err.Number or .Source or .Description
    Err.Clear
End If
On Error Goto 0

Open in new window

0
 

Author Comment

by:hardrock95
ID: 40533622
I've requested that this question be deleted for the following reason:

Done
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40533623
What does "Done" and deleting the question tell us?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question