| Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
|||||
VBScript is interpreted by a script engine, either ASP in a web environment, wscript.exe in a Windows environment, and cscript.exe in a command-line environment.
VBscript files typically have the file extension .vbs.
Example program (to put into a file 'hello.vbs'):
msgbox "Hello world"If the Windows Scripting Host is installed correctly and activated the program will run when the icon is double-clicked.
The VBScript version implemented in Internet Explorer is very similar in function to JavaScript; it has an interpreter that processes code embedded in HTML, and by itself cannot create stand-alone applications. It has virtually no compatibility with other web browsers, so many webmasters prefer to use JavaScript instead.
A few common VBScript applications are Microsoft Agent and Windows Update.