Computer Learning Zone CLZ Access Excel Word Windows

The progress of the world depends almost entirely upon education.

-George Eastman
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Courses - Microsoft Visual Basic 103
Description: Using Microsoft Visual Basic
Running Time: 72 minutes
Pre-Requisites: Visual Basic 102 strongly recommended
Versions: We use Microsoft Visual Basic 6.0, but lessons are valid for most earlier versions of VB, including 4 and 5. If you have VB.NET or VB 2005, the Visual Basic code we use is similar, but the programming interface has changed. These VB courses do NOT cover VBA (Visual Basic for Applications) which is what you need for Microsoft Office programming. For VBA, see the individual Office applications (Word, Excel, Access, etc.) Click here for more information on VB.NET courses.

Order Now: $5.99



 Click here for the Teacher's Outline
Notice: this course covers the older Visual Basic 6.0 programming application. Microsoft no longer sells VB6. If you want to learn VB6, you'll have to find a used copy somewhere like eBay or Craigslist. We will be updating this course for use with Visual Basic 2013 soon. If you've purchased this course within the last year, you'll get a free upgrade when it's released.

This course picks up where VB102 left off. We will begin by talking about Events and Properties, such as GotFocus, LostFocus, ForeColor, BackColor, and FontBold. We'll look at the Object Browser, color constants (such as vbRed, vbBlue, etc.) and how to get any color into your objects.

In this example, the Last Name field changes
color using the GotFocus event as the user
tabs to it, or clicks on it.

Next we'll learn about the different variable types, such as Date, Integer, Single, and so on. We'll learn about valid variable names and naming conventions. We'll learn how to Dim variables, and the difference between public and private variables. We'll learn how to find the length of a string with the Len function. And, we'll learn about the Option Explicit keyword and what it does.

In this example, we add up the length of the
First Name and Last Name boxes with LEN function

Next we'll learn about a powerful programming technique called the Select Case statement which can be used to eliminate huge blocks of If/Then code.


We'll use the Select Case to create a Student Test Score application where we'll figure a student's average and letter grade based on his test scores.


Next we'll learn about the Form Load event, the Form Resize Event, and see how different properties such as the Caption, Width, and Height of a form can be changed at runtime. We'll make a button so the user can resize a form.

In this example, when the user clicks the resize button
the form opens up. Notice the pink label also resizes!


Next we'll learn about the Border Style and Startup Position properties. This will allow us to change the way our forms look on the screen, and where they first pop up when the program loads. I'll show you how to manually place your form on the screen where you want it to start.

The Form Layout Window allows you to manually
position your forms anywhere on the screen.


 Click here for the Teacher's Outline

Try a FREE Demo Lesson



The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/21/2024 2:47:43 PM. PLT: 0s