XML Tutorials - Herong's Tutorial Examples
This XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself. Topics include introduction to XML, DTD (Document Type Definition), XSD (XML Schema Definition), XPath (XML Path Language), XSL (Extensible Stylesheet Language), XSLT (XSL Transf... 2023-03-09, 11635👍, 3💬
💬 2022-07-22 Helen: This is very helpful!
💬 2016-05-07 mehari: this tutorials helps many trainers through out the world, thanks!
"On Error GoTo 0" - Turning off Error Handling
This section provides a tutorial example on how to use 'On Error GoTo 0' to turn off the error handling flag in a procedure to catch the first runtime error. 2019-12-02, 2701👍, 1💬
"Property Let/Set/Get" Procedures
This section provides a tutorial example on how to use 'Property Let/Set/Get' procedure to define public properties. 2018-11-22, 26832👍, 8💬
💬 2018-11-22 Herong: vba4dummies, "sEmail" is an argument of the "Let Email()" function. It will get its value when the function is called.
💬 2018-11-11 vba4dummies: What/how is "sEmail" defined as? Good explanation but doesn't help that parts of code are missing.
💬 2017-04-25 utmozt: nice tutorial!
💬 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...
Including VBScript Code with HTML "script" Tags
This section provides a quick description of how to include VBScript code into HTML documents with 'script' tags. A tutorial example is provided on calling a function defined in the 'head' tag. 2018-10-11, 643👍, 3💬
Scripting Runtime DLL Library Overview
This section describes the Scripting Runtime DLL library, scrrun.dll, which offers Dictionary objects to store pairs of keys and values. scrrun.dll also offers FileSystemObject objects for you to manage local file systems. 2018-06-17, 1628👍, 2💬
💬 2018-06-17 Herong: Julianna, Can you just terminate the script process with Task Manage?
💬 2018-06-14 Julianna: how to stop a running scrip on window 10?
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. 2017-12-30, 3988👍, 3💬
💬 2014-12-14 Herong: Peter, Yes, you are correct. DIM is an abbreviation for "Declare in Memory", see " Siebel VB Language Reference " published by O...
💬 2014-12-01 Peter: Ehm DIM stands for "dimension"? Or perhaps it's an abbreviation for "Declare in memory"..
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, 489👍, 2💬
💬 2017-03-18 Herong: Amit, Thanks. It's been corrected now.
💬 2017-03-17 Amit Kumar Rout: Logical Conjunction (Add): Resulting (True) if and only if both operands are (True). Correction: Logical Conjunction (And): Resu...
Static, Client-Side and Server-Side Scripting Pages
This section describes differences of static content, client-side scripting code, and server-side scripting code. 2017-02-17, 183👍, 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, 889👍, 1💬
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.Ra... 2016-09-27, 1002👍, 1💬
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, 123👍, 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, 267👍, 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, 162👍, 1💬
Full Version in PDF/EPUB
Information on how to obtain the full version of this book in PDF, EPUB, or other format. 2016-04-25, 3438👍, 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 (firstname.lastname@example.org: It's A Nice Tutorial,
💬 2015-10-19 om: hi all thanks for providing such things
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, 4120👍, 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, 750👍, 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 code, provide DOM API for document interaction, and provide events to trigger VBScript code execution. 2016-03-19, 1721👍, 2💬
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, 274👍, 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, 841👍, 0💬
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, 6900👍, 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, 709👍, 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.....:)
Built-in String Functions
This section provides a list of commonly used built-in string functions. 2015-10-01, 727👍, 1💬
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 code within Internet Explorer (IE), Internet Information Services (IIS), and Windows Script Host (WSH). 2015-09-20, 245👍, 1💬
Using VBScript with WSH (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, 506👍, 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, 3372👍, 1💬
This section describes how to load the MySQL JDBC driver class - mysql-connector-java-5.1 .36-bin.jar...
This section provides a tutorial example on how to open a UTF-16LE text file with Nodepad correctly ...
This section describes the XML message communication model - where client and server send and receiv...
This section provides a tutorial example on how to solve the banking synchronization issue with Java...
This section provides a Chinese calendar program in Java language using using astronomical data obta...