Solved

vbscript error handling

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumDigits challenge 9 148
withoutTen challenge 14 121
bigHeights  challenge 13 62
groovy example issue 10 97
Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This video teaches viewers about errors in exception handling.
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 …

770 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