<< < 1 2 3 4 5 6 7 > >>   ∑:145  Sort:Rank

Built-in Array Functions
This section provides a list of commonly used built-in array functions.
2022-10-01, 170🔥, 0💬

GetInteger() - Crash-Free Integer Conversion
This section provides a tutorial example of writing a crash-free code logic to convert a user entered string into a Long integer value. The built-in function CLng() will crash with a string like '3.3e200'.
2022-10-01, 170🔥, 0💬

"TextStream" Objects Representing File Input and Output
This section describes TextStream object and its properties and methods. A tutorial example is provided on how to open a new file, write some text lines, and read them back.
2022-10-01, 170🔥, 0💬

"New" Operator and "Nothing" Object
This section provides a tutorial example on how to define the Class_Initialize procedure to be called by the 'New' operator, and the Class_Terminate procedure to be called when the object lost its last reference.
2022-10-01, 170🔥, 0💬

Built-in Misc. Functions
This section provides a list of commonly used built-in misc. functions.
2022-10-01, 169🔥, 0💬

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, 168🔥, 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, 166🔥, 0💬

Variable Scope in Procedures
This section describes rules on scope of global variables defined in the main code and local variables defined in procedures.
2022-10-01, 166🔥, 0💬

"Class" Statement - Defining Your Own Class
This section provides a tutorial example on how to create a class and instantiate a new object. The TypeName() function returns the class name of the specified object.
2022-10-01, 165🔥, 0💬

"While" Statement Examples
This section provides a tutorial example on how to use 'while' statements to repeat a block of statements.
2022-10-01, 164🔥, 0💬

Built-in Conversion Functions
This section provides a list of commonly used built-in conversion functions.
2022-10-01, 164🔥, 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, 162🔥, 0💬

"Do ... Loop" Statements
This section describes how 'Do ... Loop' statements work in VBScript. A block of statements is repeated based on the specified condition.
2022-10-01, 160🔥, 0💬

"Folder" Objects Representing File Folders
This section describes Folder object and its properties and methods. A tutorial example is provided on how to list all properties of a file folder.
2022-10-01, 157🔥, 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, 157🔥, 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, 155🔥, 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, 152🔥, 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, 152🔥, 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, 149🔥, 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, 6279🔥, 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...

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, 3265🔥, 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...

Using VBScript with Internet Information Services
This section provides tutorial example on how to embed a VBScript code in a HTML document to be executed by IIS (Internet Information Services) on the server machine.
2021-11-23, 1296🔥, 1💬

💬 2021-11-23 ttag: &lt;script> alert('lol') &lt;/script>

"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, 7496🔥, 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)

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

Examples of Expressions
This section provides a tutorial example showing you different types of expressions.
2020-06-20, 237🔥, 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)

<< < 1 2 3 4 5 6 7 > >>   ∑:145  Sort:Rank