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!
DOM API - The "window" Object
This section provides a quick description of the 'window' object of the DOM API. A tutorial example is provided on changing browser window size through the 'window' object. 2022-10-01, 123👍, 0💬
'vbscript:' Pseudo-URL Addresses
This section describes what is a 'vbscript:' pseudo-URL address and provides several interesting examples of 'vbscript:' URLs. 2022-10-01, 123👍, 0💬
Interacting with External Applications - ActiveX Data Object (ADO)
This section provides a tutorial example on how to pass values from one page to another. This example is a very simple registration application with two ASP pages. 2022-10-01, 123👍, 0💬
"-" - Arithmetic Subtraction Operation
This section provides some detail rules and a tutorial example on how arithmetic subtraction operation works in VBScript. 2022-10-01, 122👍, 0💬
"*" - Arithmetic Multiplication Operation
This section provides some detail rules and a tutorial example on how arithmetic multiplication operation works in VBScript. 2022-10-01, 122👍, 0💬
Example - Passing Arguments by Value
This section provides a tutorial example on how to pass arguments by value to swap values passed through procedure arguments. By this example will not work. 2022-10-01, 122👍, 0💬
"Select Case" Statements
This section describes how 'Select Case' statements work. If one of the expected value in a case clause equals to the test value, the statement block in that case clause will be executed. 2022-10-01, 121👍, 0💬
Example - Passing Arguments by Reference
This section provides a tutorial example on how to pass arguments by reference to swap values passed through procedure arguments. 2022-10-01, 121👍, 0💬
"FileSystemObject" Objects to Manage File Systems
This section describes FileSystemObject properties and methods. A tutorial example is provided on how to create a folder, copy files, and get file information. 2022-10-01, 121👍, 0💬
Introduction to Numeric Comparison Operations
This section provides a quick introduction of numeric comparison operations supported by VBScript: Equal to, Not equal to, Greater than, Less than, Greater than or equal to, Less than or equal to. 2022-10-01, 120👍, 0💬
"/" - Arithmetic Division Operation
This section provides some detail rules and a tutorial example on how arithmetic division operation works in VBScript. 2022-10-01, 119👍, 0💬
What Is an Expression?
This section provides an introduction of what is an expression. A data literal or a variable is a simple expression. A single operation or a group of multiple operations is a complex express. 2022-10-01, 118👍, 0💬
What is ASP (Active Server Pages)?
This section describes the ASP (Active Server Pages) technology that allows you to write VBScript code inside HTML documents for the Web server, IIS, to execute. The VBScript code can provide dynamic contents into the final HTML document to be delivered to the client machine. 2022-10-01, 117👍, 0💬
Passing Arguments to Procedures
This section describes rules on how arguments can be passed from the calling code into the called procedure by reference (the default) or by value. 2022-10-01, 116👍, 0💬
List of reference materials used in this book. 2022-10-01, 115👍, 0💬
"Function" Statement and Function Call
This section describes how to define and invoke a function procedure. Assigning a value to the procedure name in the function procedure sets the return value. 2022-10-01, 114👍, 0💬
Example - Variable Scope in Procedures
This section provides a tutorial example on validating scope of global variables in the main code and local variables in procedures. 2022-10-01, 114👍, 0💬
Commonly Used Types of Statements
This section provides a list of commonly used types of statements. Simple examples of statements are also provided. 2022-10-01, 110👍, 0💬
Using VBScript with Internet Explorer 11
This section provides tutorial example on how to enable script running and disable 'Edge' mode in IE 11 to load Web pages embedded with VBScript code. 2022-04-01, 5012👍, 5💬
💬 2021-01-03 Herong: Rory, thanks for sharing the information!
💬 2020-12-29 Rory Sellers: I found this extremely clear and timely! Thank you. There was one slight deviation from what I found on my Win 10 (IE11) laptop:...
💬 2020-05-11 Herong: John, I moved your question here under the correct tutorial topic. Hope others can help you out as I don't have IE 11 anymore.
💬 2020-05-11 John: I have followed your article and Updated IE 11 3 Times Trying to get the Latest Version. But the Persist Emulation Settings Butt...
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. 2022-02-27, 5491👍, 10💬
💬 2022-02-27 bob: this didnt help
💬 2018-08-11 Herong: trina, I will make corrections. Thanks for the comment.
💬 2018-08-11 trina: Why spreading misinformation? Pages like this are confusing for new users, with half-facts and limited instruction. First: Acces...
Including VBScript Code as External Files
This section provides a quick description of how to save VBScript code 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. 2022-01-02, 3010👍, 4💬
💬 2022-01-02 Herong: Cody, you can try the suggestion in VBScript Support in IE Web Browsers
💬 2021-12-28 Cody Shmaz: Is it possible to right a MsgBox() on a web page? thanks!
💬 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. 2021-06-02, 6816👍, 3💬
💬 2021-06-02 BensonLEI: Hi, all, Could you please help if any recommendation of saving the output into the local text file? Dim objShell, objExec, sLine...
💬 2016-12-14 Herong: Hari, Yes, you can try this: host = "herongyang.com" Set oExec = oShell.Exec("ping " & host)
Examples of Expressions
This section provides a tutorial example showing you different types of expressions. 2020-06-20, 192👍, 2💬
💬 2020-06-20 Herong: Ekko, Thanks for the interesting example. So the statement, "Operations of the same precedence value must be evaluated from left...
💬 2020-06-17 Ekko: There is another special precedence: Dim b, c, d b = c = d will be interpreted like b = (c = d)
VBScript Tutorials - Herong's Tutorial Examples
This VBScript tutorial book is a collection of notes and code samples written by the author while he was learning VBScript (Visual Basic Scripting Edition) himself. Topics include: The Variant Data Type with Subtypes; Fixed-Size and Dynamic-Size Arrays; Function Arguments Passed by References and by... 2020-04-25, 8220👍, 2💬
💬 2020-04-25 my name is idiot: Me wants it die
💬 2016-05-23 Herong: James, your email address is not working. Please contact me.
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
This section provides a tutorial example on how to a simple Java Swing program. SwingHello.java is m...
This section describes how to insert new data rows into MS Access database through the JDBC-ODBC dri...
This section provides a tutorial example on how to use 'adb -d install' command options. '-r' is to ...
This PHP tutorial book is a collection of tutorial notes and sample codes on building Chinese Web si...