If you can't explain it simply,
you don't understand it well enough.
-Albert Einstein
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
 
 
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

 
 

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