VBScript
VBScript introduction
VBScript basics
VBScript variables
VBScript procedures
VBScript popup boxes
VBScript conditions
VBScript loops
VBScript arrays
VBScript strings
VBScript date & time
VBScript summary

Programming

Programming intro
Java

Markup

First webpage guide
HTML
XHTML

Browser scripting

Javascript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

Introduction to VBScript

So you want to learn VBScript? You may already know HTML or XHTML and you want to move on to something more interactive, or you may have heard about VBScript and are curious about it, or one of many other reasons. Whatever your reason(s) may be, VBScript is a great language to learn!

This lesson focuses on:

What you should already know

Before studying VBScript, you should already have at least a basic understanding of HTML and/or XHTML. VBScript scripts are placed on webpages with HTML/XHTML tags and without knowing these tags, you will not know where and how to place VBScript scripts on a webpage. If you need to study HTML, you can do so at our HTML section. If you need to study XHTML, you can do so at our XHTML section.

What is VBScript?

VBScript is a scripting language used to provide dynamic and interactive content on webpages.

VBScript is short for Visual Basic Scripting Edition. VBScript is a lighter version of the Visual Basic programming language, and like Visual Basic, VBScript was developed by Microsoft.

VBScript and Internet Explorer

The most important thing to know about VBScript is that it is a proprietary language.

VBScript was designed by Microsoft to work in Internet Explorer and browsers based on Internet Explorer's engine such as Flashpeak's SlimBrowser.

VBScript code will NOT work in web browsers such as Mozilla Firefox and Netscape.

Due to the proprietary nature of VBScript, it is not a very popular scripting language on the world wide web. Instead, many people prefer using languages that are not proprietary and run on a variety of web browsers such as Javascript, and PHP.

What's the purpose of learning VBScript if it is a proprietary language and there are non-proprietary alternatives out there?

Here are some reasons:

  1. Internet Explorer is the most popular web browser

    Internet Explorer is the most popular web browser, so knowing how to write code specifically for it is a plus.

  2. Browser specific code

    There may come a time when you want to provide separate content on a webpage for users of a particular web browser.

  3. Knowing another language

    It's always good to know more. Even if you will use VBScript alot less than other scripting languages, you still have knowledge of another scripting language.

What can be done with VBScript?

There is alot you can do with VBScript:

All this and much more can be done with VBScript!

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments