How to Use this Tutorial
This tutorial is a stand-alone introduction
to VBScript. It is laid out in a series of five lessons. Each lesson introduces
you to a new segment of the VBScript language. Along the way you will learn
how to add calculations, formatting and validations to your web pages. At the
end of each lesson is an exercise where you, the reader, get to try out your
newly acquired knowledge by building web pages utilizing VBScript. The topics
of the lessons are:
- An Introduction to VBScript-You will learn how to add VBScript into a web page and alternate methods for linking scripts with HTML
- Working with Variables-What would any language be without variables? Here you learn how to define and use variables in your script routines
- Using Objects with VBScript-Java applets and ActiveX controls extend the HTML environment. In this lesson you will learn how to tie these objects together using VBScript
- Controlling Your VBScript Routines-Conditional statements (If...Then...Else, Select...Case) and looping (For...Next and Do...Loop) are the topic of this section
- Using VBScript with Forms-With VBScript you can validate forms before they are submitted. You see how in lesson 5
Step-by-step Exercises
As was mentioned above, each of the five lessons has a worked exercise, which demonstrates how to use the topics that were presented. Along the way you will find descriptions of each component of the example, so that by the end you will have a sound understanding of the lesson's topic.
A copy of the completed exercises can be found at http://webdev.wrox.co.uk/books/0685.
Each lesson will have two or more completed examples that are referenced
in the step-by-step instructions.