VBScript Tutorials - Herong's Tutorial Examples - Version 5.20, by Dr. Herong Yang

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).

What Is VBScript?

Using VBScript with Internet Explorer

Using VBScript with Internet Information Services

Using VBScript with Windows Script Host

Using Visual Basic with Microsoft Access

Conclusions:

  • VBScript (Visual Basic Scripting Edition) is a scripting language derived from Visual Basic language.
  • VBScript codes must be executed in VBScript host environments.
  • IE (Internet Explorer) provides a VBScript host environment that allows you to do client side scripting on Web pages.
  • IIS (Internet Information Services) provides a VBScript host environment that allows you to do server side scripting on Web pages.
  • WSH (Windows Script Host) provides a VBScript host environment that allows you to run stand alone script code files.
  • If you are interested to learn Visual Basic, you can write Visual Basic codes in Microsoft Access and run them as macros.

Table of Contents

 About This Book

Introduction of VBScript - Visual Basic Scripting Edition

 Variant Data Type, Subtypes, and Literals

 Arithmetic Operations

 Numeric Comparison Operations and Logical Operations

 String Operations - Concatenation and Comparison

 Variable Declaration and Assignment Statement

 Expression and Order of Operation Precedence

 Statement Syntax and Statement Types

 Array Data Type and Related Statements

 Array References and Array Assignment Statements

 Conditional Statements - "If ... Then" and "Select Case"

 Loop Statements - "For", "While", and "Do"

 "Function" and "Sub" Procedures

 Built-in Functions

 Inspecting Variables Received in Procedures

 Error Handling Flag and the "Err" Object

 Regular Expression Pattern Match and Replacement

 scrrun.dll - Scripting Runtime DLL Library

 Creating Your Own Classes

 IE Web Browser Supporting VBScript

 IIS ASP Server Supporting VBScript

 WSH (Windows Script Host)

 References

 Printable Copy - PDF Version

Introduction of VBScript - Visual Basic Scripting Edition - Updated in 2015, by Dr. Herong Yang