Computer Learning Zone CLZ Access Excel Word Windows

You can use logic to justify almost anything. That's its power. And its flaw.

-Kathryn Janeway
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Courses - Microsoft Visual Basic 106
Description: Using Microsoft Visual Basic
Running Time: 67 minutes
Pre-Requisites: Visual Basic 105 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 follows VB105. We'll begin by learning how to use Frames to group objects together.

I'll show you a trick to overlay and hide/show groups and create a pseudo-Tabbed interface with them.

In our example, you can click on the different buttons
to show the different groups of controls - hidden in frames

Next we'll learn about the Format menu, and how to use it to auto-align our controls, resize objects, send to back, bring to front, and more. I'll show you the Form Editor Toolbar, and how to lock your conrols. We'll also learn more about Nested For Loops. I'll show you a cool trick to animate a label and make it run across your form.


Next, we'll learn all kinds of different Events: GotFocus, LostFocus, KeyDown, KeyPress, KeyUp, MouseDown, MouseMove, MouseUp, Form Load, Unload, Activate Deactivate, Change, Click, DblClick, and we'll learn about ASCII key codes.

We'll make a status box so you can see exactly when and how
all of these different events fire. One click on a TextBox can generate
several different events that we can use.

Next we'll spend a lot more time with the MsgBox command. We'll learn how to pop up different types of boxes (critical, information, question, etc.) and how to get different responses (yes/no, yes/no/cancel, abort/retry/ignore, etc.)

And of course, we'll learn how to respond to each of these selections in code.


Next we'll learn about about a powerful component that comes with Visual Basic, but isn't installed by default. It's called the Common Dialog Control. First, I'll show you how to install it.

We'll make a button to browse for a filename...

Which opens up the Common Dialog File Window...

And I'll show you how to display the result.

You can also use the Common Dialog Control to open up a color palette with the Color Chooser Window...

And then we'll use that user-selected color to change the background color on our form at runtime!


Next we'll learn about the Drive, Directory, and File Controls which allow the user to have more direct control over the files, folders, and drives on his machine.


In the last lesson of this course, we'll have some fun with the Line and Shape controls. I'll show you how to animate them, move them, and resize them with code. We'll also learn about some advanced shape properties.

You obviously can't tell from this picture, but the red line and
circle dance around on the screen thanks to some cool animation tricks



 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: 4/15/2024 1:53:33 AM. PLT: 0s