Monday, June 16, 2008

Topic Outline

Topic: Visual Basic 6.0

Lesson 1

  1. Overview

1.1 What is Visual Basic?
1.2 History and Features
1.3 Advantages
1.4 Versions and Components

  1. The VB Environment

3.1 Overview of VB Environment
3.2 Setting up the VB Environment
3.3 Forms
3.4 Controls and Labels
3.5 Setting Project Properties
3.6 Command Buttons
3.7 The Frame Control
3.8 Inserting Images
3.9 The ListBox Control
3.10 Combo Box
3.11
Menus
3.12 Creating an Executable

Lesson 2

  1. Events

1.1 Overview Event Procedures
1.2 Form and Control Events

  1. Variables, Constants, Arrays and User Defined Types

2.1 Variables
2.2 Scope of Variables
2.3 Variable Declarations
2.4 Naming Variables and Relational Operators
2.5 Operator Precedence
2.6 Constants
2.7 The Variant Data Type
2.8 Arrays
2.9 User-Defined Types

  1. Conditional Logic

3.1 If, Else, and ElseIf Statements
3.2 Select Case Statements
3.3 Conditional Compilation Statements
3.4 Looping

Lesson 3

1. Procedures & Functions
1.1 Procedures
1.2 Creating and Calling Procedure
1.3 Sub Main
1.4 Functions
1.5 Parameters/Arguments
1.6 Call by Reference
1.7 Built-in Functions
1.8 Methods

2. Dialog Boxes

2.1 What is a Dialog Box?
2.2 Message Box
2.3
Input Box Dialog
2.4 Common Dialog
2.5 Building a Custom Dialog

3. ADO Data Control
3.1 Methods of Getting Data
3.2 Universal Data Access
3.3 ADO Data Control
3.4 Setting up an ODBC Datasource
3.5 Using the Data Control
3.6 Data List Control
3.7 The Data Grid

Lesson 4

  1. Programming the ADO Data Control


1.1 The Recordset Property and Data Control Events
1.2 Order of Events
1.3 Adding Features
1.4 Deleting Data
1.5 Canceling Changes
1.6 Data Validation
1.7 The Error Event
1.8 Displaying Records
1.9 Finding Records

  1. MDI


2.1 Overview of MDI
2.2 Adding a Project to MDI
2.3 Positioning the Project
2.4 Listing open Child Windows
2.5 Right Mouse Click Menu
2.6 Unloading an MDI Application

  1. Debugger


3.1 Stepping Through Code
3.2 Setting Break Points
3.3 Adding Watch Variables
3.4 Debug.Print

  1. Error Handling


4.1 Visual Basic Errors
4.2 Adding our own Error Handling
4.3 Error Object
4.4 Listing the Errors
4.5 OnError Resume Next
4.6 The Resume Statement
4.7 The Call Stack
4.8 Global Error Handler

Lesson 5

  1. Tips & Tricks (55 Minutes)


1.1 Searching
1.2 Jumping around VB
1.3 Bookmarks
1.4 Form Tips & Tricks
1.5 Formatting Your Controls
1.6 The Property Window
1.7 Customizing the Windows Environment
1.8 Using Add-ins
1.9 Creating Templates
1.10 Toolbox Tricks

  1. Object Oriented Programming


2.1 OOP Terminology
2.2 Uses of Classes
2.3 Differences between Procedural Coding and OOP
2.4 Advantages and Disadvantages
2.5 Step by Step creation of an Employee class module
2.6 Class Initialization
2.7 Class Builder Utility
2.8 Methods
2.9 Using Forms as Objects
2.10 Creating a TextStream Class
2.11 Default Methods and Properties

Lesson 6

  1. System Objects


1.1 What is an Object?
1.2 Object Types
1.3 The App Object
1.4 The Screen Object
1.5 The Clipboard Object
1.6 Creating New Forms at Runtime
1.7 Using Form and Control Objects

  1. Collections


2.1 What is a Collection?
2.2 Using the Forms Collection
2.3 Using the Controls Collection
2.4 Using the Printer Collection
2.5 Creating Your Own Collections
2.6 Creating a Collection Class

  1. Tips & Tricks


3.1 Handling Keystrokes & Testing for Certain Input Data
3.2 Validating Data
3.3 Finding Values in Combo Boxes
3.4
Data Format Property
3.5 Third Party Controls

  1. Wizards


4.1 Using the Data Form Wizard
4.2 Using the Application Wizard

Lesson 7

  1. Using ADO Objects


1.1 Properties and Methods of the Connection Object
1.2 Properties and Methods of the Recordset Object
1.3 Recordset Types
1.4 Creating a Data Entry form Using ADO
1.5 Error Handling
1.6 Multi-User Concepts

  1. Visual Database Tools

2.1 Data Environment
2.2 Data View Window
2.3 Query Designer window
2.4 SQL Editor
2.5 Database Diagram Window
2.6 Visual Data Manager

  1. Optimization


3.1 Speed Optimization Technique
3.2 Size Optimization Techniques

Lesson 8

  1. The Windows API


1.1 What is the Windows API?
1.2 Uses of the Windows API
1.3 Declaring Windows API Functions
1.4 Calling Windows API Functions
1.5 Send Message
1.6 GetDriveType32
1.7 Retrieving System Information

  1. Storing User Information

2.1 INI Files & Using API Calls
2.2 Creating an INI Class
2.3 What is the Registry
2.4 Using GetSetting & SaveSetting
2.5 Deleting a Registry Entry

  1. Active X Controls

3.1 ImageList Control
3.2 Toolbar
3.3 Coolbar
3.4 Status Bar
3.5 ImageCombo
3.6 DateTimePicker
3.7 Month View
3.8 Progress Bar
3.9 Slider
3.10 UpDown
3.11 Tab Strip
3.12 SSTab

Visual Basic 6.0 tutorial