<IMG SRC="fla_train.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0>
Click Here for the Outline in PDF Version
Course Outline: Introduction to VBScript

(2 Days) with Hands On Labs
    Learning Objectives

  • Define VBScript and describe the advantages of using it in Web pages
  • Embed VBScript code in an HTML document, hide the VBScript code from browsers that lack a VBScript interpreter, and insert comments into VBScript code
  • Define variables, name them appropriately, and demonstrate implicit and explicit declarations of variables
  • Declare arrays and use them in scripts
  • Use the four types of VBScript operators and produce specific results by demonstrating their precedence
  • Insert functions, subroutines, and Event Procedures into VBScripts and reduce programming effort by using VBScript’s predefined procedures
  • Write code that makes decisions based on existing conditions using control structures and loops
  • Format numbers and manipulate the variant subtype String, using some predefined functions
  • Enable communication with Web page visitors using Message and Input boxes
  • Extract date and time information from the client computer, format it, and display the date and time of the last update on the Web page
  • Use the DOM to control the layout of HTML pages, add effects, and get information from users
  • Use functions to handle Windows mouse and keyboard events, validate user input, and handle run-time errors


This course description should be used to determine whether the course is appropriate for you based on your current skill and technical training needs. Technical information is provided on the intended audience, course prerequisites, and covered topics. Course content, prices, and availability are subject to change without notice.


Course Audience

Attendees enrolling in this course should understand the Windows user interface, Windows-based applications, and be proficient with advanced-level HTML.

Course Description

This two day information-packed seminar withhands-on labs provides an overview of VBScript. It should prove of value to developers and programmers who are interested in expanding into scripting languages or would like to add another one to their tool box.

The course opens with a discussion and definition of VBScript and the advantages of using it in Web pages. It will provide students with exposure to procedure writing, Web page communication, and specific VBScript operators. Students discover a new powerful tool by which they can communicate information over the Web.

The seminar includes demonstrations of the development of scripts and procedures. Seminar attendees will be provided with comprehensive notes and programming examples.

Course Objectives

At course completion the student will be able to perform the following tasks:


  • Define VBScript and describe the advantages of using it in Web pages
  • Embed VBScript code in an HTML document, hide the VBScript code from browsers that lack a VBScript interpreter, and insert comments into VBScript code
  • Define variables, name them appropriately, and demonstrate implicit and explicit declarations of variables
  • Declare arrays and use them in scripts
  • Use the four types of VBScript operators and produce specific results by demonstrating their precedence
  • Insert functions, subroutines, and Event Procedures into VBScripts and reduce programming effort by using VBScript’s predefined procedures
  • Write code that makes decisions based on existing conditions using control structures and loops
  • Format numbers and manipulate the variant subtype String, using some predefined functions
  • Enable communication with Web page visitors using Message and Input boxes
  • Extract date and time information from the client computer, format it, and display the date and time of the last update on the Web page
  • Use the DOM to control the layout of HTML pages, add effects, and get information from users
  • Use functions to handle Windows mouse and keyboard events, validate user input, and handle run-time errors
Prerequisites

Attendees of this course should have a working knowledge of advanced-level HTML. Programming experience is helpful, but not required.

TOPICS COVERED IN LECTURE & LAB

VBScript & the Web

  • VBScript Popularity
  • VBScript Defined
  • Platform or Host Dependence
  • Scripting Languages
VBScript Basics

  • Embedding VBScript in HTML
  • VBScript to Display Information
  • Hiding VBScript from Older Browsers
  • Code Documentation & Formatting
Variables, subtypes & Constants

  • Variable Defined
  • Declaring Variables
  • Naming Variables
  • Variants & Subtypes
  • Assigning Values to Variables
  • Determining Variant Subtype
  • Data Subtype Conversion
  • Numeric & Literal Constants
Arrays

  • Groups of Similar Variables
  • One-Dimensional Arrays
  • Multi-Dimensional Arrays
VBScript Operators

  • VBScript Operators
  • Arithmetic Operator Precedence
  • Comparison Operators
  • Logic Operators
  • String Concatenation
VBScript Procedures

  • Procedures
  • Subroutine Procedures
  • Scope of Variables
  • Function Procedures
  • Randomize & RND
Program Control & Structure

  • Control Statements
  • Four Control Structures
  • Using Loops
  • Topic title
Strings & Numbers

  • Strings
  • Formatting Numbers
Message & Input Boxes

  • Message Box
  • Input Boxes
Dates & Times

  • Dates & Times
  • Splitting Up Dates & Times
  • Page Updates
The Document Object Model

  • What Does VBScript Manipulate?
  • History & Background of the DOM
  • Properties, Methods, Events & Collections
  • Internet Explorer 5.x DOM
Event Handlers

  • Top-Down vs. Event-Driven Programming
  • Mouse Events
  • Keyboard Events
  • Validation & Error Handling
Policy