Solved

vbscript error handling

Posted on 2015-01-03
4
107 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
Comment Utility
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
Comment Utility
I've requested that this question be deleted for the following reason:

Done
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
What does "Done" and deleting the question tell us?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
visual studio and gui 6 39
no14 challenge 14 56
matchUp  challenge 6 48
Specific format 21 140
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…
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…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

763 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

8 Experts available now in Live!

Get 1:1 Help Now