Visual Basic 6 is not your grandfather’s BASIC! If your knowledge of programming is limited to the QBASIC you toyed with in high school, you’ll think you’ve landed on a different planet. You may still see the occasional GoTo hanging around but, for the most part you will be in unfamiliar territory. For one thing, the word Basic in Visual Basic is not an acronym anymore. It used to be. When the language was invented in the early 70’s, BASIC stood for Beginners’ All-purpose Symbolic Instruction Code, thus the acronym (word formed from the first letter of several words, in upper-case). It is certainly not just for beginners, and although it is quite versatile, I don’t know if I’d call it exactly All-purpose. And while it is still Instruction Code, it is more than Symbolic now. But THE big difference is the Visual aspect of it where you work with windows and icons and pictures and multimedia.
It really is a lot of fun!

Before you start developing a Visual Basic 6 application you should be aware that some programming knowledge is useful. If you have used BASIC or Pascal or C before you got here, that’s OK. If you did learn one of those languages, you were working in a procedural fashion: when you type RUN the program starts at the beginning and basically follows the instructions going down the list, skipping here and there according to control instructions until it finds some kind of END statement. That is not how Visual Basic operates. Rather than procedural it is event-driven. There will be more on that subject in the next lesson.

However, you do have to write Visual basic 6 code to program the events – there are loops and conditions and arrays. We will not be covering the fundamentals of programming as such – you should be familiar with the basic constructs such as the IF…THEN…ELSE or the FOR…NEXT statements.

If you need a good book to follow along with the tutorials,
the Profsr recommends the author:
Evangelos Petroutsos.
His books, on all versions of VB, are among the best.

Get it easily from Amazon.com

Visual Basic 6.0 Tutorial Content

Lesson 1

  • The Visual Basic 6 environment
  • Defining terms
  • Creating a Visual Basic Project
  • Practice project – Building a Football Scoreboard

Lesson 1b

  • Improving the VB application
  • Using a step-by-step approach
  • Writing a VB procedure
  • Calling procedures

Lesson 2

  • Using the Visual Basic 6 code editor
  • Adhering to programming standards
  • Data types, variables and constants in Visual Basic
  • Using operators
  • Control structures – IF…THEN, Select Case, DO…LOOP, FOR…NEXT
  • Practice assignment – Upgrading the Scoreboard

Lesson 3

  • Designing the Visual Basic Application
  • Working with users
  • Guiding principles
  • Choosing a Visual Basic interface style

Lesson 4

  • Defining the Visual Basic Form
  • Standard controls: Picture, Frame, CommandButton, Label, TextBox, CheckBox, etc.
  • Visual Basic practice assignment: Creating a Payroll Form

Lesson 5

  • Arrays
  • More controls: ListBox, ComboBox
  • Properties and Methods of objects in Visual Basic
  • Building a file search application: DriveListBox, DirListBox, FileListBox

Lesson 6

  • Building a Menu
  • Debugging Visual Basic code
  • Error trapping

Lesson 7

  • Manipulating text – string functions
  • Visual Basic functions for dates, numbers
  • Using the Windows Clipboard and Screen objects
  • Creating Copy, Paste, Cut, Delete functions
  • Pictures, Graphics and Drawing controls in Visual Basic
  • Multimedia – incorporating sounds and pictures
  • Building a CD player in code

Lesson 8

  • Working with Visual Basic files
  • Writing and reading a Sequential-access file
  • Sample project: the Address Book
  • Creating a sequential output form
  • Creating and using a Random-access file

Lesson 9

  • Creating a Microsoft Access database – refer to SQL tutorial
  • The Project Management example
  • The Data control
  • Visual Basic Bound controls – TextBox controls linked to database
  • Validating data – ensuring database integrity
  • Finding a specific record in the database

Lesson 10

  • Using multiple tables from the database
  • Creating multiple data controls
  • Using Data Bound List Controls
  • Using VISDATA – the Visual Basic Data Manager

Lesson 11

  • Downloads – sample Visual Basic 6 code and database
         with new examples

Lesson 12

  • New sample application: Project management
    Visual Basic 6 ADO database programming
    with connection to MySQL database server.

Use Google to search our website
for all kinds of free lessons,
up-to-date tutorials
and training resources.

Custom Search

Top

Source Article