Solved

vbscript error handling

Posted on 2015-01-03
4
108 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 68

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 68

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
This article will show, step by step, how to integrate R code into a R Sweave document
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now