Solved

vbscript error handling

Posted on 2015-01-03
4
110 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 69

Accepted Solution

by:
Qlemo earned 500 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 69

Expert Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

830 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