Sort: Rank

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, 203👍, 2💬

💬 2017-01-21 Herong: Jason, I am not sure if that is doable to install a printer with a VB script on a Web page. May be make the image as a download ...

💬 2017-01-19 Jason: Have vb script created that will map network printers on our network, created page on IIS for users to use and want them to clic...

"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, 243👍, 2💬

💬 2016-12-14 Herong: Hari, Yes, you can try this: host = "herongyang.com" Set oExec = oShell.Exec("ping " & host)

💬 2016-12-12 hari: how can i pass a variable to the command

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, 414👍, 5💬

💬 2016-12-12 DICKSONBALIKURUNGI: THANKS

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, 148👍, 1💬

💬 2016-12-06 M: Thank you!

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💬

"Property Let/Set/Get" Procedures
This section provides a tutorial example on how to use 'Property Let/Set/Get' procedure to define public properties.
2016-11-02, 4529👍, 4💬

💬 2016-11-02 Herong: Christian, RegExp is a built-in class in VSScript. You can use it anywhere you want to. In this tutorial, RegExp is used to crea...

💬 2016-10-31 Christian: I don't really get it. Wghere dies the class RegExp coem from and why does the script know how to handle it?

💬 2016-05-27 Herong: Per, you are correct. I have fixed the mistakes. Thanks for the feedback.

💬 2016-05-04 Per: You have incorrectly pasted the line: "Here is how a Property Let statement should used for all the get/let/set sections

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, 195👍, 1💬

💬 2016-09-27 lakshmi: nice explaination

Statement Syntax and Statement Types
This chapter provides tutorial examples and notes about statements in VBScript. Topics include what is a statement, how to write a statement, commonly used statement types and examples.
2016-08-05, 105👍, 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💬

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, 1794👍, 1💬

💬 2016-05-23 Herong: James, your email address is not working. Please contact me.

"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, 3413👍, 3💬

💬 2016-05-07 Herong: Donald, I don't understand your question. More details please.

💬 2016-05-06 Google Chrome 50.0.2661.94 m: Google Chrome Un navigateur Web conçu pour offrir rapidité, simplicité et sécurité Obtenir de l'aide sur l'utilisation de Goog...

💬 2016-05-06 Donald Duck: Please include a list of the different possible values for number. Thanks☺

PDF Printing Version: VBScript Tutorials
Information on how to obtain the PDF version of this book for printing.
2016-04-25, 2106👍, 6💬

💬 2016-04-25 Vigneshwaran: This will going to be very helpful to me. Thanks in advance

💬 2015-12-02 davod: thanks for your help

💬 2015-11-30 Michael Collins: Thanks

💬 2015-11-30 Kipkorir Gideon (gdnchrt@gmail.c: It's A Nice Tutorial,

💬 2015-10-19 om: hi all thanks for providing such things

(More comments ...)

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, 864👍, 2💬

💬 2016-04-08 Herong: Rich, can you show us your command line and the output?

💬 2016-04-02 Rich: I keep getting can't find host scrip file, can you help?

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, 283👍, 2💬

💬 2016-03-20 Herong: Hi Saranyakumar, if you want to run VBScript code as standalone application, you can use WSH (Windows Script Host), which will a...

💬 2016-03-18 saranyakumar: the above example is OK but we need to get a input at runtime but it is useful......

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, 588👍, 2💬

💬 2016-02-15 hs: mein Test

String Comparison Operation
This section provides a quick introduction of string comparison operations, which compare one character at a time based its ASCII value.
2016-03-03, 128👍, 1💬

"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, 293👍, 0💬

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, 2513👍, 2💬

💬 2014-12-14 Herong: Peter, Yes, you are correct. DIM is an abbreviation for "Declare in Memory", see "Siebel VB Language Reference" published by Ora...

💬 2014-12-01 Peter: Ehm DIM stands for "dimension"? Or perhaps it's an abbreviation for "Declare in memory"..

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, 1930👍, 0💬

"For ... Next" Statements
This section describes how 'For ... Next' statements work in VBScript. A block of statements is repeated until a loop variable reaches its final value.
2016-02-01, 375👍, 3💬

💬 2016-01-27 Herong: Bushra, Try for the following ☺ For Each c In "ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharA rray()... Next

💬 2016-01-25 bushra: also give me their plss...as possible as early

💬 2016-01-25 bushra: please also give the exmples for alphabets for the help of for next statement.....:)

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, 139👍, 1💬

Using VBScript with Windows Script Host
This section provides tutorial example on how to run a simple VBScript code file with the Windows Script Host tool.
2015-08-31, 215👍, 1💬

Running VBScript Code Files
This section provides a tutorial example on how to run a VBScript file with or without 'cscript/wscript' command.
2015-08-09, 1902👍, 1💬

💬 2015-08-09 mll: p

  Sort: Rank