"Err.Raise()" - Raising Your Own Errors
This chapter provides tutorial examples and notes on runtime error handling. Topics include the default error handling behavior; 'On Error Resume Next' and 'On Error GoTo 0' statements; catching errors with (Err.Number > 0); clear Err object with Err.Clear(); raise your own errors with Err.Raise(...... 2016-05-07, 6919👍, 3💬
Table of Contents
This free VBScript tutorial book is a collection of notes and sample codes written by the author while he was learning VBScript himself, an ideal tutorial guide for beginners. Topics include Variant, Array, Function, Error Handling, Regular Expression, Dictionary, File System, Class, Object, IE Brow... 2016-05-23, 3661👍, 1💬
Variable Declaration and "Dim" Statement
This section provides a quick introduction of what is a variable and how variable can be declared explicitly with a Dim statement and implicitly with an assignment statement. 2016-02-20, 3119👍, 2💬
Passing Arrays as Arguments
This section provides a tutorial example on how to pass an array as an arguments by reference to reverse positions of all elements in an array given as the argument. 2016-02-01, 2676👍, 0💬
Using Visual Basic with Microsoft Access
This section provides tutorial example on how to add a Visual Basic code in Microsoft Access database to be executed as a macro on database tables. 2016-12-12, 1570👍, 5💬
WSF - Windows Script File XML Format
This section describes the WSF (Windows Script File) XML format. Multiple script jobs with different scripting language can be defined in a single WSF file. 2016-04-08, 1333👍, 2💬
"oShell.Exec(cmd)" - Running System Command with a Script
This section provides a tutorial example on how to run a system command with a VBScript code. Command output and status can be monitored with WshScriptExec properties. 2016-12-14, 1014👍, 2💬
VBScript Support in IE Web Browsers
This section provides a quick description of how IE browser execute VBScript codes, provide DOM API for document interaction, and provide events to trigger VBScript code execution. 2016-03-19, 900👍, 2💬
Including VBScript Codes as External Files
This section provides a quick description of how to save VBScript codes into separate files and include them into HTML documents with 'script' tags. A tutorial example is provided on calling a function stored in a separate VBScript file. 2017-01-21, 867👍, 2💬
Introduction of Arithmetic Operations
This section provides a quick introduction of arithmetic operations supported by VBScript: addition, subtraction, multiplication, division, remainder, and exponentiation. 2016-03-20, 410👍, 2💬
Error Handling Flag and the "Err" Object
This chapter provides tutorial examples and notes on runtime error handling. Topics include the default error handling behavior; 'On Error Resume Next' and 'On Error GoTo 0' statements; catching errors with (Err.Number > 0); clear Err object with Err.Clear(); raise your own errors with Err.Raise(...... 2016-09-27, 391👍, 1💬
Variant Data Type, Subtypes, and Literals
This chapter provides tutorial examples and notes about VBScript data type and literal. Topics include what is a Variant; what are data subtypes; data literals for Integer, Long, Single, Double, String, Boolean, and Date. 2016-12-06, 347👍, 1💬
Including VBScript Codes with HTML "script" Tags
This section provides a quick description of how to include VBScript codes into HTML documents with 'script' tags. A tutorial example is provided on calling a function defined in the 'head' tag. 2016-11-14, 338👍, 2💬
"MatchCollection" and "SubMatches" Collection Objects
This section describes two collection objects, MatchCollection and SubMatches. All collection objects share the Count property and the Item(i) method. 2016-02-26, 316👍, 0💬
Introduction to Logical Operations
This section provides a quick introduction of logical operations supported by VBScript: logical negation - Not, conjunction - And, disjunction - Or, exclusion - Xor, equivalence - Eqv, implication - Imp. 2017-03-18, 198👍, 2💬
Introduction of VBScript - Visual Basic Scripting Edition
This chapter provides a quick introduction on VBScript language. Topics include what is VBScript; what are VBScript host environments; running VBScript codes within Internet Explorer (IE), Internet Information Services (IIS), and Windows Script Host (WSH). 2015-09-20, 144👍, 1💬
"Err.Number" and "Err.Clear()" - Error Code and Clear Method
This section provides a tutorial example on how to manage runtime errors properly with the error code, Err.Number, and the error clear method, Err.Clear(). 2016-06-29, 134👍, 1💬
IIS ASP Server Supporting VBScript
This chapter provides introductions and tutorial examples on how IIS ASP server provides support to VBScript code embedded in HTML documents. Topics include configuring IIS to support ASP pages; ASP runtime 'request', 'response' and 'session' objects; ADO library supporting database server connectio... 2016-05-25, 117👍, 1💬
This section provides a tutorial example on how to write a HTTPS server test program, HttpsHello.jav...
This section describes how to create a Chinese HTML document in UTF-8 encoding and publish it on the...
This free book contains Herong's notes and tutorial examples on Chinese GB2312 character set. It pro...
This section provides a tutorial example on how to use SHA1 message digest algorithm in Java. The JD...
This section provides quick introductions on the Windows registry hives - top level registry keys on...