Computer Learning Zone CLZ Access Excel Word Windows

I am convinced that the act of thinking logically cannot possibly be natural to the human mind. If it were, then... our species would not have taken several millennia to figure out the scientific method.

-Neil deGrasse Tyson
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Home > Courses > Visual Basic > VB 6 > 103 < 102 | 104 >
VB 103

Welcome to Visual Basic 103. Total running time is 72 minutes.


 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Buy Now

          Only $5.99
          Members pay as low as $3

Lessons

Resources

Questions?

Please feel free to post your questions or comments below. If you have questions about a specific lesson, please specify the lesson number and the time index in the lesson where the issue occurs. Thank you!

Subscribe for Updates

If you would like to be notified whenever changes are made to this page, new lessons are posted, or comments are made, click on the subscribe button.

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to VB 103
Get notifications when this page is updated
 
Intro In lesson 103, you will learn how to work with events and properties in Microsoft Visual Basic 6.0, including GotFocus, LostFocus, and Form Load. We will cover working with colors and color constants, handling variables of different types such as String, Date, and Long Integer, and discuss variable naming conventions. I'll show you how to use the Length function, the Select Case statement, and demonstrate how to change form properties, such as size and border style, during program execution. We will also look at tips for controlling form startup position and other useful tricks.
Transcript Welcome to Visual Basic 103, brought to you by VBLearningZone.com. I am your instructor, Richard Rost.

In today's class, we are going to work with events and properties, such as GotFocus and LostFocus. We are going to learn how to work with colors and the different color constants.

We are going to learn how to work with variables and the different variable types, such as String, Date, and Long Integer. We will learn different naming conventions for variables.

We are going to learn a couple of functions, including the Length function, to see how to take the length of a string. We will learn about the Select Case statement, which is an alternative to long If Then blocks.

Continuing on with different events, we are going to learn about the Form Load event, which fires when a form first opens. We will learn how to change form properties using VB code. For example, the size of a form can be changed during your program. We will learn a lot of little tips and tricks too.

For example, we will cover how to change where your form starts up when your program loads, how to manipulate properties such as the border style, and lots of little tricks.

This class follows Visual Basic 102. I strongly recommend you take my VB 101 and 102 classes before taking this one.

I will be using Visual Basic 6.0 in this class. If you are using a different version of Visual Basic, such as VB.NET or VB 2005, you will find the interface is a little bit different, but most of the code that I am using in class should work for any version of VB.

I suggest you sit back, relax, and watch the video once the first time through, then watch the lesson a second time following along with the examples. I do recommend that you try to build the sample projects that I am building in class before you try to apply what you are learning to a project that you happen to be working on.

The class website for this particular course is at VBLearningZone.com?vb103. On that page you will find information about this class.

You will also find our discussion web where you can talk about the topics in this class with me and other students. If you happen to be watching this class in the Amicron Video Player or in the Amicron Theatre Online, you will find that this discussion form opens up just to the right of the video in the player. If you have any questions or comments about the class, post them there and everyone can join in.
Quiz Q1. Which of the following events will you learn about in this class?
A. GotFocus and LostFocus
B. KeyPress and KeyUp only
C. MouseMove only
D. Click and DoubleClick only

Q2. What is one of the main differences with the Select Case statement as discussed in the video?
A. It is an alternative to long If Then blocks
B. It is used for creating message boxes
C. It only works with numeric variables
D. It replaces all variable declarations

Q3. Which variable types are specifically mentioned in this class?
A. String, Date, Long Integer
B. Double, Boolean, Byte
C. Cur, Dec, Object
D. Variant, Currency, Single

Q4. What function will you learn to use in order to determine the length of a string?
A. Length
B. Width
C. Height
D. Size

Q5. In this class, which version of Visual Basic is primarily used for demonstration?
A. Visual Basic 6.0
B. Visual Basic.NET
C. Visual Basic 2008
D. Visual Basic for Applications

Q6. What does the Form Load event do?
A. Fires when a form first opens
B. Occurs when a form is closed
C. Occurs when a form is minimized
D. Happens only when a button is clicked

Q7. According to the video, what is recommended before applying the lessons to your own project?
A. Build the sample projects from the class
B. Read the course textbook
C. Take a test on the video content first
D. Complete all the website quizzes

Q8. What will you learn to change by using VB code, according to the material?
A. The size of a form
B. The color of Windows desktop
C. The type of hardware used
D. The operating system version

Q9. What should students do if they have questions or comments about the class?
A. Post them in the discussion area provided
B. Write an email to Microsoft
C. Attend a physical classroom session
D. Call the instructor directly

Q10. If using a version of Visual Basic different from VB 6.0, what should a student expect?
A. Most code should work, but the interface may be different
B. All code will not work at all
C. Only the color functions will work
D. The Form Load event will not exist

Answers: 1-A; 2-A; 3-A; 4-A; 5-A; 6-A; 7-A; 8-A; 9-A; 10-A

DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks.
Summary Today's video from Visual Basic Learning Zone is Visual Basic 103, where I will be introducing some important programming concepts and techniques to help you build more dynamic and responsive applications.

In this class, we explore the use of events and properties in Visual Basic. I will show you how to work with events like GotFocus and LostFocus, which allow your program to respond when a control gains or loses focus. We will also get into the basics of working with colors in your forms, including how to use the various color constants that are available in Visual Basic.

This class will cover variables in detail, including the different types such as String, Date, and Long Integer. I will discuss common naming conventions for your variables to help keep your code clear and organized.

We will also look at a couple of useful functions. For example, I will demonstrate how to use the function that returns the length of a string, allowing you to check how many characters are in a particular variable. In addition, I will introduce you to the Select Case statement, which is a great way to handle multiple conditions in your code, making your programs easier to manage than with a long series of If Then blocks.

Moving along with event handling, I will cover the Form Load event, which triggers when a form opens. You will learn how to change properties of a form using Visual Basic code, such as adjusting the form's size at runtime. There are a lot of helpful tips and tricks included throughout the lesson.

Some of the other useful techniques we will look at include setting the startup position of your form when your program loads and modifying properties like the border style. I will be sharing a variety of small but useful tricks to enhance how your forms look and behave.

This course is a continuation of the previous Visual Basic 102 lesson. If you have not already taken VB 101 and 102, I strongly recommend starting with those before proceeding with this class.

Although I am teaching with Visual Basic 6.0 in these lessons, if you are working with a later version like VB.NET or VB 2005, you will see that the interface may look a bit different, but the majority of the code that I demonstrate in this class should be compatible with your version.

For the best learning experience, I suggest that you watch the video one time all the way through. On your second viewing, follow along with the examples and try to build the sample projects yourself. It is important to work through these examples before applying the techniques to your own projects.

The website for this course can be found at VBLearningZone.com?vb103. On that page, you will find more details about the class as well as access to our discussion area, where you can interact with me and other students. If you are watching through the Amicron Video Player or the Amicron Theatre Online, the discussion form will open right next to the video, allowing you to easily ask questions or share comments with the group.

You can find a complete video tutorial with step-by-step instructions on everything discussed here on my website at the link below. Live long and prosper, my friends.
Topic List Using events like GotFocus and LostFocus
Working with color properties and color constants
Using variables and different variable types
Naming conventions for variables
Using the Length function to measure strings
Using the Select Case statement
Understanding the Form Load event
Changing form properties using code
Changing the size of a form at runtime
Setting form startup position
Modifying form border style property
 
 
 

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

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

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/1/2026 8:51:35 PM. PLT: 2s
Keywords: VB 103  PermaLink  How To Work With Events Properties Variables Select Case and Form Properties in Visual Basic 6.0