Tutorials and Online Training Videos

Microsoft Visual Basic 2005 Tutorial

Visual Basic 2005 is an object-oriented, general purpose programming language. Programmers using the Visual Basic .NET language have the ability to write applications ranging from simple user-friendly front-end interfaces to complex database applications. VB.NET applications can be deployed as stand-alone or web-based applications. This course by author, Arthur Lee, assumes no prior programming background and uses a building block approach beginning with simple programming features and examples while gradually introducing more complex features. Numerous coding examples are provided to enhance the learning experience. To begin learning, simply click the movie links.


Welcome to Visual Basic 2005
Visual Basic 2005 Overview
The Visual Basic 2005 Environment
Controls & Forms
A Simple Example

Saving & Executing Projects

Saving the Original Project
Modifications & Re-saving
Recognizing Error Types
Naming Rules & Conventions
Basic Form Properties

Controls and Properties

Textboxes vs. Labels
Radio Buttons vs. Check Boxes
Picture Boxes
AutoSize Property
Working with Multiple Controls
Properties vs. Methods

Creating a Functional User Interface

Keyboard Access Keys
Tab Order for Controls
Code for Concatenation
Form StartPosition Property

Coding for Controls

Commenting Code
Clearing the Contents
Coding for Radio Buttons & Check Boxes
Coding the Color of Controls
Code for Visibility of Controls
Coding for Multiple Properties

Variables and Constants

What is a Variable?
What is a Constant?
Data Types
Naming Rules for Variables & Constants
Variable Declaration Examples
Scope of a Variable
Option Explicit


Conversion to Numeric Data Type
Option Strict
Math Operations/Hierarchy of Operations
Data Conversion Issues
Rounding & Formatting Functions

Message Boxes

Components of a Message Box
Message Box Buttons
DialogResult Variable
Complex Message Boxes

Accumulating and Counting

Module-Level Variable
Forms of Accumulating
Counting vs. Accumulating
Try-Catch Blocks
Complete Example

Conditional Programming

IF-ELSE Statements
Relational Operators
Comparing Strings/Case Issues
Compound Conditions
Nested IF Statements
Conditional Statements with Controls
Case Structure Alternative

Input Validation

Common Validation Techniques
Multiple Validations
Exception Handling Techniques
Field-Level Validation
Masked Text Box for Validation


Creating a Simple Menu
Keyboard Functionality with Menus
Code for Menu Items
Creating Context Menus

General Sub Procedures

What are Sub Procedures?
What are Function Procedures?
Passing Arguments to Procedures


List Boxes & Combo Boxes
Properties Associated with Lists
Methods Used with Lists
Combo Box Example


Why Use an Array?
Lists vs. Arrays
Alternative Array Declaration
Two-Dimensional Arrays


For Next Loops
Loop-Lookup Example


PrintDocument Control
Setting Up the Graphics Page
Coding the PrintPreview

Database Files

XML Data
Database Application Example

Common Dialog Boxes

Color Dialog Box
Font Dialog Box
File Dialog Boxes

Multiple Form Projects

Creating New Forms
Form Methods & Events
Other Form Events
Scope of Variables Revisited
Creating a Splash Screen
Creating an About Form

The Finished Product

The .EXE File and Deployment

Wrap Up

Summary of Content Covered


About this Author

Related Books on Microsoft Visual Basic 2005

Save $80 on the
by Motorola with Verizon Wireless service for less than from Verizon Wireless directly.
Save $80 on DROID BIONIC
More Cell Phone Discounts