VBScript Primer Tutorial

VBScript Primer Tutorial

VBScript Primer Tutorial

Here is a tutorial that introduces you to some aspects of VBScript.

VBScript (Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It is designed as a β€œlightweight” language with a fast interpreter for use in a wide variety of Microsoft environments. VBScript uses the Component Object Model to access elements of the environment within which it is running; for example, the FileSystemObject (FSO) is used to create, read, update and delete files.

VBScript has been installed by default in every desktop release of Microsoft Windows since Windows 98;[1] in Windows Server since Windows NT 4.0 Option Pack;[2] and optionally with Windows CE (depending on the device it is installed on).

A VBScript script must be executed within a host environment, of which there are several provided with Microsoft Windows, including: Windows Script Host (WSH), Internet Explorer (IE), and Internet Information Services (IIS).[3] Additionally, the VBScript hosting environment is embeddable in other programs, through technologies such as the Microsoft Script Control (msscript.ocx).

I’ve been curious about VBScript, but have not used it extensively, mainly because cross-browser incompatible code makes me a bit disinterested. However, the Visual Basic functionality and popularity of Internet Explorer, as a browser, means ignorance is not necessarily bliss. It can be used as an alternative client side tool, like Javascript, but only for Internet Explorer. It takes most of its functionality from Visual Basic, but is not VBA, nor is it Camembert … you might be pleased to know.

Let’s see some simple VBScript in action for good old Hello World and showing the current date and time, but not for making toast without you asking in the morning, even though you wanted a chico roll …

Test drive the tutorial, but do not expect much unless you are using Internet Explorer here. If you are not using Internet Explorer, and see Hello World, get out the patent book, and fill in the “Walking on Water” section.

Link to VBScript information … from Wikipedia from which quote above comes.
Link to VBScript tutorials … at W3Schools (the source of this tutorial’s workings … thanks, as always).
Link to VBScript “spiritual home” … at Microsoft.
Link to some downloadable VBScript code … rename to My_VBScript.html for useful use only with Internet Explorer.
Link to some downloadable VBScript programming code … rename to My_VBScript.php for useful use only with Internet Explorer.

Favourite VVBScript?!

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Tutorials and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *