 |
| Introduction |
| Microsoft's Visual Basic Scripting Edition is a scaled down version of Visual Basic. While it doesn't offer the functionality of Visual Basic, it does provi...more » |
|
 |
| |
|
 |
| How to |
| Adding VBScript to Web Pages Scripting languages, like JavaScript and VBScript, are de...more » |
|
 |
| |
|
 |
| Where to |
| Where to Put the VBScript Scripts in a page will be executed immediately while the page loads into the browser. This is not always ...more » |
|
 |
| |
|
 |
| Working With Variables |
| A variable is a named location in computer memory that you can use for storage of data during the execution of your scripts. You can use variables to: ...more » |
|
 |
| |
|
 |
| Arrays |
| The VBScript language provides support for arrays. You declare an array using the Dim statement, just as you did with variables: Dim Sta...more » |
|
 |
| |
|
 |
| VBScript Procedures |
| We have two kinds of procedures: The Sub procedure and the Function procedure. Sub procedure A sub procedure is a series of s...more » |
|
 |
| |
|
 |
| Conditional Statements |
| VBScript allows you to control how your scripts process data through the use of conditional and looping statements. By using conditional statements you can ...more » |
|
 |
| |
|
 |
| For Next Loop |
| For...Next Loop VBScript uses the For…Next structure for creating incremental loops. There are a few keyword variations...more » |
|
 |
| |
|
 |
| While Loop |
| While Loop The VBScript While Loop executes code while a condition is true. Example Dim numb ...more » |
|
 |
| |
|
 |
| Comments |
| Comments are used to leave yourself notes or to mark a piece of code so that it doesn't get executed. In VBScript the comment system is extremely simple bec...more » |
|
 |
| |
|
 |
| Date |
| To display the date using VBScript, you use the VBScript date() function. date() VBScript Date Code To display this to...more » |
|
 |
| |
|
 |
| MsgBox |
| The MsgBox function displays a message box, waits for the user to click a button, and returns a value that indicates which button the user clicked. ...more » |
|
 |
| |
|