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

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

"New", "Set", "Is", ".", "Nothing" - Object Operations
This section provides a tutorial example on how to use object operations, 'New', 'Set', 'Is', '.' and 'Nothing'. The default method of an object can be invoked without method name.
2022-10-01, 180🔥, 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, 179🔥, 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, 179🔥, 0💬

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

Assigning Values to Variables - "=" Statement
This section provides a quick introduction of the assignment statement, which allows you to assign a new value to a variable.
2022-10-01, 177🔥, 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, 177🔥, 0💬

Built-in Array Functions
This section provides a list of commonly used built-in array functions.
2022-10-01, 177🔥, 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, 176🔥, 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, 174🔥, 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, 173🔥, 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, 171🔥, 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, 168🔥, 0💬

Built-in Conversion Functions
This section provides a list of commonly used built-in conversion functions.
2022-10-01, 165🔥, 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, 165🔥, 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, 165🔥, 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, 164🔥, 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, 161🔥, 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, 156🔥, 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, 6382🔥, 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, 3323🔥, 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, 1375🔥, 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, 7586🔥, 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, 239🔥, 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