Audience
This course is intended for web developers who have experience in using HTML 3.2 and want to understand the fundamental concepts required for programming in Microsoft VBScript.
Objective
- Enter the code for control structures procedures and functions in VBScript.
- Identify the scripting object model objects and their position in the object model hierarchy.
- Identify the features of the Err object.
- Complete the code for various tasks using the Err object properties.
Topics Include
Unit 1: VBScript Fundamentals
- Identify the advantages of using VBScript.
- Identify the various values contained in a variant data type.
- Declare variables in VBScript using the Dim statement.
- Assign a variable to an object reference in VBScript using the Set statement.
- Calculate the value of a given expression based on the order of precedence of operators in VBScript.
- Display a message in a message box by using the MsgBox function.
- Create an input box to display a prompt in a dialog box by using the InputBox function.
- Enter the code to execute a series of statements in VBScript using conditional execution statement.
- Complete the code to execute a group of statements repeatedly using looping mechanism.
- Enter the code to declare the static array using the Dim statement.
- Complete the code to create a Sub procedure by using the Sub statement.
- Enter the code to create a Function procedure using the Function statement.
- Complete the code to call a Function procedure by passing arguments.
- Match the variable type date time string and math conversion functions with their return values in VBScript.
Unit 2: Scripting Object Model
- Identify the objects present at different levels of the scripting object model hierarchy.
- Complete the code to perform a given set of tasks by using the window object properties.
- Enter the code to perform a given set of tasks by using the window object methods.
- Write the code to perform a given set of tasks by using the onLoad and onUnload events of the window object.
- Enter the code to set the parts of a URL by using the location object properties.
- Enter the code to display the length of the history object list by using the length property.
- Enter the code statement to navigate through the history list using the history object methods.
- Display browser information by using the navigator object properties.
- Enter the code to perform the given tasks using the document object properties.
- Enter the code to perform the given tasks by using the document object methods.
- Enter the code to display the parts of the URL of a link using the link object properties.
- Enter the code to perform a given set of tasks by using the events of the link object.
- Enter the code to display the anchor object name by using the name property of an anchor object.
- Complete the code to perform a given set of tasks by using the properties of the form object.
- Enter the code to submit a form to a server by using the submit method.
- Enter the code to invoke a procedure to validate the data in a form at the time of form submission by using the onSubmit event.
- Enter the code to perform a set of tasks using the element object properties.
- Enter the code to perform a given set of tasks using the methods of the element object.
- Enter the code to perform a given set of tasks using the events of element object.
Unit 3: Error Handling and VBScript Comparison
- Identify the features of the Err object for handling errors in VBScript.
- Enter the code to perform a given set of tasks using the Err object properties.
- Complete the code to generate and clear a run-time error using the Err object methods.
- Complete the code to provide error handling within a routine by using the On Error Resume Next Statement.
- Identify the features of Visual Basic that are not available in VBScript.
- Identify the features available in VBA that are not available in VBScript.
- Identify the features available in VBScript that are not available in VBA.
Duration
8
Minimum Requirements
The CDROM version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
- At least a double speed CDROM drive.
- An MPC compliant sound card with attached speakers or headphones is recommended (Currently only the CDROM version supports audio).
The network version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM and 22MB available hard disk space or file server space.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
Media
Serebra Learning Corporation 119 - 7565 132nd Street Surrey BC V3W 1K5 Canada