AquinasTraining.co.uk - training courses. Home  -  FAQ  -  Corporate Plans

VBScript: Introduction for Beginners (2 day)

CM061137      Course duration (days): 2
Talk to a Training Advisor
Tel. 0800 652 0202
Availability
Schedule available upon request within 24 hours.
Need help? Contact us now.

About this class

Visual Basic Script is a simple scripting language designed to make HTML more powerful and interactive. For millions of web developers and designers who got started by developing HTML and XHTML skills, VBScript is a very popular next step. This two day course is designed for those who wish to add VBScript functionality to their websites or build more interactive and responsive online content for their users.

With VBScript you can link and automate a wide variety of objects in web pages, including ActiveX Controls and Java applets. VBScript also lets web developers without in-depth technical experience embed commands into their HTML code that call up Java animations and add clocks and time-based features to web pages. VBScripts also allow web pages to ask questions, gather information from visitors and provide other user-centred controls.

This two day course is a comprehensive introduction to VBScript.

Who will the lesson benefit?

Experienced administrators seeking to more efficiently manage Windows systems.

What prerequisites are required

This VB Script training course assumes a reasonable working knowledge of HTML and the Internet; and some basic experience in general programming. Experience in programming VB is desirable but not essential.

Contents of this class

DAY ONE

Introduction

  • VBScript vs Visual Basic
  • Understanding Client-side and Server-side scripting
  • VBScript and ASP

The document object

VBScript programming

  • Basic syntax
  • Client-side vs Server-side

VBScript data types

  • Variant subtypes
  • Checking for TypeName and Null conditionals

Dealing with arrays

  • Writing sub-procedures and functions

Conversion functions

  • Numbers
  • Dates

Validation functions

  • Numbers
  • Dates

Format functions

  • Formatting currencies
  • Formatting dates
  • Formatting numbers
  • Formatting percentages

DAY TWO

Event handlers

  • User independent
  • User dependent

Form handling

  • Using Set
  • Passing control back after validation

Using Loops

  • For...Next
  • For Each...Next
  • Do...Loop
  • Date and string functions
  • Date and time functions

Object orientation

  • Procedural vs object orientated
  • Understanding object orientation basics
  • Dot syntax
  • Understanding methods and properties

Storing VBScript externally

  • Working with the File System Object (FSO)

Essential VBScript functions

Using the following functions:
  • CCur
  • CDate
  • CInt
  • CLng
  • CreateObject
  • CSng
  • Date
  • Hour
  • InStr
  • IsEmpty
  • LTrim, RTrim and Trim
  • Replace

VBScript and ASP

VBScript and XML

Questions and answers