Computer Learning Zone CLZ Access Excel Word Windows

It is possible to commit no errors and still lose. That is not a weakness. That is life.

-Jean-Luc Picard
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 

Introduction

Welcome! Controls: Option, List, Combo, Events


 S  M  L  XL  FS Slo Reg Fast 2x 

Welcome to Visual Basic 105. In this course we will work with a variety of controls, including option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, and the timer control, as well as discuss the events associated with them. You will need to have completed VB104 or earlier courses for the best experience. All course resources, sample files, and the discussion forum are available on the class website. We will be using Microsoft Visual Basic, but the code will be similar across other versions. Follow along by building the provided sample projects.

Navigation

Keywords

, Visual Basic controls, option buttons, control arrays, list boxes, multi-select list box, combo boxes, drop-down lists, scroll bars, timer control, Visual Basic 6.0, VB6, VB104 prerequisite, Amocrine Video Player, VB105 course

 

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 Introduction
Get notifications when this page is updated
 
More Information
Transcript 
Welcome to Visual Basic 105 brought to you by vblearningzone.com. I am your instructor, Richard Rost.

In today's class, we will be spending a lot of time with controls: option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, and much more, including the timer control. Now, we will not just be studying these controls; we will also be studying all the events associated with them too.

The prerequisite for this class is VB104. I strongly recommend you take 101, 102, and 103 before taking this class. There is a class website located at vblearningzone.com. Go to VB105. On this page, you will find sample project files, the course outline, and the student discussion forum. If you have any questions about the material covered in today's class, post them here on the discussion forum.

If you are watching this class in the Amocrine Video Player or the Online Theater, you will see this page load up to the right of the videos. Join in the discussion by posting your thoughts here.

In today's class, I will be using Microsoft Visual Basic 6.0. If you are using a different version of VB, such as VB.NET or VB2005, you will find that the interface is different. However, most of the Visual Basic programming code will work just fine.

I strongly recommend you sit back, relax, and watch each video through once without doing anything. Then, replay the video again and follow along with the examples, building each project as I do.

Do not try to apply what you are learning immediately to other projects you might be working on. Instead, build the sample project in class with me.
Intro 
Welcome to Visual Basic 105. In this course we will work with a variety of controls, including option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, and the timer control, as well as discuss the events associated with them. You will need to have completed VB104 or earlier courses for the best experience. All course resources, sample files, and the discussion forum are available on the class website. We will be using Microsoft Visual Basic, but the code will be similar across other versions. Follow along by building the provided sample projects.
Quiz 
Q1. What is the main focus of Visual Basic 105 as presented in this class?
A. Learning about different controls and their events
B. Writing SQL queries
C. Database normalization
D. HTML web development

Q2. Which of the following is NOT mentioned as a control covered in this class?
A. Option buttons
B. List boxes
C. Image controls
D. Timer control

Q3. What is recommended before taking Visual Basic 105?
A. Completing Visual Basic 101, 102, 103, and 104
B. Reading Visual Basic reference manuals only
C. Skipping all prerequisites if you are experienced
D. Taking a course in C++

Q4. Where can students access supporting materials for the course?
A. vblearningzone.com
B. personal email
C. YouTube
D. Google Drive

Q5. What should students do if they have questions about the course material?
A. Post them on the discussion forum
B. Email the instructor directly every time
C. Ignore their questions
D. Search for answers elsewhere

Q6. According to the instructor, what is the best approach for learning from the video tutorials?
A. Watch once, then replay and follow along
B. Only follow along on the first watch
C. Start applying knowledge immediately to other projects
D. Skip the hands-on exercises

Q7. Which version of Visual Basic is the instructor using in the class?
A. Visual Basic 6.0
B. Visual Basic .NET
C. Visual Basic 2015
D. Visual Basic for Applications

Q8. If you are using a different version of Visual Basic, what should you expect?
A. The interface might be different, but most code will still work
B. The code will not work at all
C. You must downgrade to match the instructor
D. There will be no difference

Q9. According to the instructor, what should you build as you follow along with the videos?
A. The sample project used in class
B. Your own unrelated project
C. A website
D. Nothing at all

Answers: 1-A; 2-C; 3-A; 4-A; 5-A; 6-A; 7-A; 8-A; 9-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 
Welcome to Visual Basic 105 presented by vblearningzone.com. I am your instructor, Richard Rost.

In this class, we are going to spend a significant amount of time focusing on various controls such as option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, and more, including the timer control. Not only will we cover how to use these controls, but we will also examine the different events that are associated with each one.

Before you take this class, you should already have completed VB104. I also strongly suggest you take the earlier courses 101, 102, and 103 before proceeding with this one to ensure you have a solid foundation. There is a class website at vblearningzone.com. Visit the VB105 page to download sample project files, look at the course outline, and participate in the student discussion forum. If you have any questions about the material from this class, that discussion forum is the best place to ask.

If you are viewing this class using the Amocrine Video Player or the Online Theater, you will see the class page displayed next to the videos. Feel free to join the discussion by posting your thoughts and questions.

For this course, I will be working in Microsoft Visual Basic 6.0. If you are using a different version like VB.NET or VB2005, you might notice that the user interface is not the same, but most of the programming concepts and code that I teach here should still apply.

My recommendation is to watch each video all the way through once before you try to follow along. Once you have watched the video, go back and work through the examples step-by-step to build each project as I do it.

Please do not try to immediately use what you are learning here in other projects you may be working on. It is best to build the sample project alongside me in class, so you can really get the hang of the techniques.

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 
Option buttons and their properties
Creating and managing control arrays
Using list boxes in forms
Implementing multi-select list boxes
Working with combo boxes
Creating drop-down lists
Using scroll bars in forms
Adding and configuring timer controls
Examining control events and event handling
Article 
Welcome to this guide on working with controls in Visual Basic. In this lesson, we will explore different types of controls such as option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, and scroll bars. We will also cover the timer control and learn about the events associated with each of these controls. Understanding how to use these controls and their events is essential for building engaging and interactive applications.

To get the most from this tutorial, you should be familiar with the basics of Visual Basic, including how to create forms and place simple controls like text boxes and labels on them. If you need to review foundational concepts, spend some time going through introductory lessons before continuing.

Let us start by discussing option buttons. An option button allows a user to select one choice from a group of options. For example, if you have a form where a user needs to select their gender, you might use two option buttons labeled Male and Female. Only one option can be selected at a time within the same group. In Visual Basic, you can group option buttons by placing them inside a frame or by managing their logic in code to ensure only one is selected.

A control array is a collection of controls that share the same name and can be managed as a group, indexed by a number. For example, you might have several option buttons in a control array so that you can iterate through them using a loop in your code. This makes it easier to manage a group of controls that perform similar tasks.

List boxes display a list of items from which a user can select. To add items to a list box in code, you use the AddItem method, like this:

List1.AddItem "Apple"
List1.AddItem "Banana"
List1.AddItem "Orange"

You can also make list boxes support multiple selections. To do this, set the MultiSelect property of the list box. With this configuration, users can select more than one item by holding down the Shift or Ctrl keys. To process the selections, you can use code like the following:

Dim i As Integer
For i = 0 To List1.ListCount - 1
If List1.Selected(i) Then
MsgBox "You selected: " & List1.List(i)
End If
Next i

Combo boxes are similar to list boxes but they offer a drop-down list combined with a text box so the user can either select an item from the list or type a new value. You can add items to a combo box with the AddItem method as well:

Combo1.AddItem "Red"
Combo1.AddItem "Green"
Combo1.AddItem "Blue"

When handling user choices in a combo box, use the Text property to read the selected or entered value.

Drop-down lists are a style of combo box where the user must select from the list and cannot enter new values. This is controlled by setting the appropriate property in the combo box so it only accepts list values.

Scroll bars allow users to select a value by dragging a slider. There are horizontal and vertical scroll bar controls. You set the Min and Max properties to define the range of the scroll bar. The Value property indicates the current value. For example, you might use a scroll bar to allow the user to select a number between 1 and 100. In the scroll bar's Change event, you can write code to update another control based on the new value:

Private Sub HScroll1_Change()
Text1.Text = HScroll1.Value
End Sub

The timer control lets you run code at regular intervals. For instance, you could update the time every second on your form. Set the Interval property, which is specified in milliseconds. For example, an interval of 1000 will fire the event once every second. To use the timer, enable it and write code in the Timer event:

Private Sub Timer1_Timer()
Label1.Caption = Time
End Sub

Each of these controls supports a range of events that you can use to respond to user actions. For example, the Click event of a button occurs when the user clicks the button, while the Change event of a text box occurs whenever its contents change. By writing code in these events, you can make your application interactive.

When learning about these controls, it is best to start by adding them to your form and experimenting with their properties. Try adding code to their various events to see how the controls respond. For learning purposes, I recommend building the sample projects described here step by step. Do not immediately try to use these controls in your own complex projects. Instead, recreate the sample scenarios using simple forms to ensure you understand how each control and its events work. Once you are comfortable, you will be ready to apply these concepts to your own applications.

If you have questions or need additional resources, there are many helpful websites and forums where you can find sample project files, course outlines, and discussion communities. Engaging in these discussions is a great way to deepen your understanding and get help from other learners and developers.

By mastering option buttons, control arrays, list boxes, combo boxes, scroll bars, the timer control, and their events, you will be well equipped to build dynamic and user-friendly programs with Visual Basic. Practice building and experimenting with each control, and you will quickly become proficient in creating interactive applications.
Primary Topics 
controls, control events, option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, timer control
Secondary Topics 
class website resources, discussion forum participation
 
 
What's This?

 

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: 9/4/2026 9:32:02 PM. PLT: 1s
Keywords: , Visual Basic controls, option buttons, control arrays, list boxes, multi-select list box, combo boxes, drop-down lists, scroll bars, timer control, Visual Basic 6.0, VB6, VB104 prerequisite, Amocrine Video Player, VB105 course  PermaLink  How To Use Controls Option Buttons Lists Combo Boxes and Events in Microsoft Visual Basic