An investment in knowledge
pays the best interest.
-Benjamin Franklin
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
 
 
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: $15.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

 
 

You may want to read these articles from the 599CD News:

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP