Search here for all the info you want in this Blog

VBScript Host Environments

VBScript Host Environments

 Internet Explorer (IE):

IE allows you to include VBScript code in HTML documents to be executed while IE is rendering HTML documents on the screen.
This is also called client side scripting.
Here we will write the VBScript code in


o/p:


Internet Information Services (IIS):

IIS Allows you to include VBScript code in HTML documents to be executed while IIS is fetching HTML documents on the Web server to deliver to client machines.
This is also called server side scripting.

Windows Script Host (WSH):

Allows you to include VBScript code in script files to be executed directly on the Windows operating system
By default all windows operating systems have WSH installed.
We typically use VBScript within WSH to automate systems administration tasks. WSH is the system module that transforms a VBScript file into a Windows executable file
Here will write the VBScript code in a Script file and we will save it .vbs files. And we can execute it by WSH.

            Example:
                        msgbox "hello world"

            o/p:


No comments:

Post a Comment