Intranet Journal   Earthweb  
Events Jobs Premium Services Media Kit Network Map E-mail Offers Vendor Solutions Webcasts

   Intranet Journal Subjects
Search Earthweb

Privacy Policy



internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

internet commerce
Be a Commerce Partner
















 

[ Home | Discussion Forum | How Do I... | Lotus Notes Intranets | Microsoft SharePoint | Products | Shopping  ]

free news!


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.


Previous  Next

Intranet Journal
VBScript Tutorial
Contents
· What is VBScript?
· How to Use this Tutorial

Lesson 1
· Adding VBScript to Web Pages
· The <SCRIPT> Tag
· Non-Supporting Browsers
· Your 1stirst VBScript Exercise

Lesson 2
· Working with Variables
· Declaring Variables
· Scope of Variables
· Constants
· Arrays
· Your 2nd VBScript Exercise

Lesson 3
· Objects and VBScript
· Adding Objects to Web Pages
· Linking VBScript with Objects
· Your 3rd VBScript Exercise

Lesson 4
· Controlling VBScript Routines
· Conditional Statements
· Looping Statements
· Your 4th VBScript Exercise

Lesson 5
· Using VBScript with Forms
· Validating Your Forms
· Your 5th VBScript Exercise

· Summary

OF INTEREST
· Intranet Journal's JavaScript FAQ
· Basic JavaScript by Example

email this page

Tutorials
and more at:
Intranet Journal's Tutorials
Intranet Journal Favorites

Creating a PHP-Based Content Management System

The Spyware Guide

Introduction to Microsoft SharePoint Portal

Intranet Journal
Part of the EarthWeb Network

Managing Editor
Intranet Journal

Tom Dunlap

EarthWeb Home Page
Jupitermedia Home Page

Media Kit



internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs