Microsoft Visual Basic 6 is a versatile language, usable for business applications, database interface, gaming applications, and even for presentations. Professor Arthur Lee authors this Virtual Training Company tutorial. He begins by introducing code and the controls needed in Visual Basic. Learn all about variables, debugging, and creating menus, as well. To get started now, click below on the topic of your choice.
Introduction & Visual Basic Overview
The VB 6 Environment (window orientation)
The VB 6 Environment (placing controls on form)
The First Project (Hello World)
Saving and Running the Project
Naming Rules and conventions for controls
Form Properties (startup position, window state, Visible)
Frames with Options Buttons & Check Boxes
Images (using graphical images on the form)
User-Friendly Features (Access keys, Tab Index)
User-Friendly Features (default, cancel properties)
Tab Stop, Focus, Max Length, Tool Tips
Code for user convenience (clearing text boxes, labels, Set Focus)
VB color Constants, Font object, With-End With Coding
Demo of Name & Address Maker-User Perspective
Demo of Name & Address Maker-Programmer Perspective
Naming rules and conventions for Variables: Option Explicit
The VAL Function and Calculations
Putting it together - Book Sales Program (part 1)
Accumulating & Module-Level Variables
Another Demo - Shipping Charges
Project Overview - Coffee Sales
Variables; IF - THEN - ELSE statements
Using IF Statements with the MsgBox Function
Clear button with message boxes
Other options with message boxes
Another demonstration program - More data validation
Using Breakpoints; Stepping through code
Common Errors and Things to Avoid
The Form Icon; Creating an Executable Project (.EXE file)
Form Load and Form Activate Events
More on LostFocus, SetFocus and the Visible Property
Creating Submenus and Flyout Menus
Adding and About Form with a Menu item
Adding a menu to an existing Project
Wrapping up the menu demo (enabled property)
Every course on the vtc.com website contains free movies that let you assess the quality of our tutorials before you subscribe - just click on the blue links to watch them. Become a member today to access over 100,000 instructional videos!
Sign Up NowIf you are already an active vtc.com member, please log in to access the tutorials.