Computer Learning Zone CLZ Access Excel Word Windows

Live as if you were to die tomorrow. Learn as if you were to live forever.

-Mahatma Gandhi
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Home > Courses > Visual Basic > VB 6 > 105 > < 104 | 106 >
VB 105

Option Buttons, Lists, Combo Boxes, Events


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

          Only $12.99
          Members pay as low as $6.50

Welcome to Access Beginner 105. In this course you will learn how to use a variety of controls in Microsoft Visual Basic, including option buttons, list boxes, multi-select lists, combo boxes, scroll bars, and the timer control. We will discuss how to add, configure, and manage these controls, as well as the events associated with them. You will see how to use control arrays, set properties, handle user interactions, and use features like the sorted property, ItemData, and formatting with the timer. All course resources and sample files are available on the class website.

Lessons

Resources

Lesson Summary

Welcome! Controls: Option, List, Combo, Events - 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.

XXXXX

Lesson 1: Option Buttons & Control Arrays - In Lesson 1, we are introduced to option buttons, which allow users to select one choice from a group of options, such as selecting a prefix like Mr., Mrs., or Miss. We will walk through how to add option buttons to a form, set default values, and use code to check which option is selected. We will also discuss how to use control arrays to manage multiple option buttons more efficiently, and briefly mention how to use frames to group option sets, which will be explained further in a future lesson.

XXXXX

Lesson 2: List Box: Add, Remove, Sort, Settings - In Lesson 2, we are going to learn about list boxes. We will walk through how to add a list box to your form, set its properties, populate it with items, and retrieve selected values in your code. I will show you how to count the list items, loop through them, and determine which item is selected. We will also move items between two list boxes, remove items, clear the list, and use the sorted property. Additionally, we will discuss the appearance and style options for list boxes, including the checkbox style for allowing multiple selections.

XXXXX

Lesson 3: Multi-Select Lists & ItemData - In this lesson we are going to explore how to work with a multi-select list box. We will discuss the different MultiSelect properties, including None, Simple, and Extended, and how they affect user selection. I will show you how to determine which items are selected, move or copy selected items between list boxes, and properly handle adding or removing items programmatically. We will also cover the ItemData property, which lets you associate additional data, such as customer IDs, with each list item. Finally, you will see how to retrieve and display this associated data when needed.

XXXXX

Lesson 4: Combo Boxes & Drop-Down Lists - In this lesson, we will explore combo boxes, covering how to create and use three different types: drop-down combo boxes, simple combo boxes, and drop-down lists. I will show you how to add items to a combo box using code, and discuss their key properties and methods, including how they are similar to and different from list boxes. We will also walk through how to prompt users to add new items if their input is not already in the list, and briefly discuss how to save those values for future use.

XXXXX

Lesson 5: Scroll Bars: Control Values & Events - In this lesson, we will explore how to use scroll bars in Visual Basic to change the value of form elements like a text box. We will discuss the max, min, value, large change, and small change properties of a scrollbar and cover the difference between the change and scroll events and when they fire. I will show you how to set up a vertical scrollbar to control a customer's age field, address direction of value changes, handle default values, manage data type issues, and use both the change and scroll events for real-time updates. We will also touch on using scroll bars to move form objects in future lessons.

XXXXX

Lesson 6: Timer Control: Delays & Daily Events - In this lesson we will explore more timer control options in Visual Basic, including ways to handle longer time intervals such as running events every 10 minutes or once a day. We will walk through using a text box to display the current time, formatting date and time using the Format function, and triggering events at specific times. I will also demonstrate incrementing counters, automatically closing forms after a set period, and enabling or disabling the timer control with a check box. We will briefly discuss more advanced uses, including daily tasks and handling overlapping events.

XXXXX

Lesson 7: Option Buttons, Lists, Combos & Events - In this course we learned about option buttons, controller rays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, and other controls, as well as the events associated with them. We also reviewed ways to get help, interact through the course website, provide feedback, join the mailing list, and what you can expect next, including discussions about frames, the Format menu, advanced message box techniques, the Common Dialog control, drive, file and directory list boxes, and animating lines and shapes.

XXXXX

Navigation

Keywords

option buttons, control arrays, list boxes, multi-select list box, combo box, drop-down lists, scroll bars, timer control, events, itemdata, frames, control properties, vba, copy items, move items, change event, scroll event

 

Comments for VB 105
 
Age Subject From
2 yearsVBMai-Lan Aikens
2 yearsVB 105 Lesson 3Mai-Lan Aikens

 

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 105
Get notifications when this page is updated
 
Intro In lesson 105, we will be working with a variety of controls in Microsoft Visual Basic 6.0, including option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, scroll bars, and the timer control. I will walk you through how to use these controls and explain the events associated with them. This lesson builds on the material from earlier classes and is designed to give you hands-on experience working with these essential controls and their properties.
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 a lot more, including the timer control.

We will not just be studying these controls; we will also be studying all the events associated with them.

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/GOVB105. 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 that you might be working on. Instead, build the sample project in class with me.
Quiz Q1. Which prerequisite class must you take before enrolling in Visual Basic 105?
A. VB104
B. VB106
C. VB101
D. VB110

Q2. What is one of the MAIN focuses of the Visual Basic 105 course?
A. Designing graphics for forms
B. Working with controls and their events
C. Writing SQL queries
D. Debugging web applications

Q3. If you have questions about the course material, where are you encouraged to post them?
A. The class website discussion forum
B. Social media
C. Personal email to the instructor
D. Phone hotline

Q4. Which control types will be covered in Visual Basic 105?
A. Option buttons, list boxes, combo boxes, scroll bars, timer control
B. Database tables and forms
C. Network protocol controls
D. Web browser controls

Q5. What is recommended regarding watching the class videos?
A. Watch each video twice, once to observe and once to follow along
B. Only watch the summary at the end
C. Skip to your favorite parts first
D. Pause and try to implement immediately during the first viewing

Q6. What should you do instead of trying to apply what you learn immediately to outside projects?
A. Build the sample project in class with the instructor
B. Memorize the outlines
C. Read additional textbooks
D. Take a test right away

Q7. Which version of Visual Basic is demonstrated in this class?
A. Microsoft Visual Basic 6.0
B. Visual Basic .NET 2022
C. Visual Studio Code
D. Access VBA

Q8. What is noted about the compatibility of programming code between Visual Basic 6.0 and newer versions?
A. Most code will work just fine across versions
B. None of the code is compatible
C. Only interface elements are compatible
D. Only database code is compatible

Answers: 1-A; 2-B; 3-A; 4-A; 5-A; 6-A; 7-A; 8-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 focuses on exploring an array of controls in Visual Basic, including option buttons, control arrays, list boxes, multi-select list boxes, combo boxes, drop-down lists, and scroll bars. We will also take an in-depth look at the timer control. The lesson does more than just introduce these controls; I will also be covering the various events that can be used with each control.

Before starting this class, it is important that you have completed VB104, and I highly recommend finishing VB101, VB102, and VB103 as well to ensure you have the background knowledge needed for this material.

You can find the supporting resources for this course, such as sample project files, the course outline, and a discussion forum for students, on the class website. If any questions arise as you work through this material, the discussion forum is the best place to seek help or join in the conversation.

For those of you watching in the Amocrine Video Player or the Online Theater, the class website will appear next to the videos, making it easy to engage with others by posting your thoughts and questions.

Throughout today's session, I will be working in Microsoft Visual Basic 6.0. If you are using a newer version, like VB.NET or VB2005, you will notice some differences in the user interface, but most of the programming code remains compatible.

My advice is to watch the entire lesson once from start to finish before trying to follow along or work through the examples. Once you have seen the approach and overall flow, go back and repeat the video, building each sample project alongside me as we proceed through the concepts together. This will help reinforce your understanding and lead to fewer frustrations.

Finally, try to focus on building the sample projects demonstrated in class before applying what you learn to your own other projects. This will ensure you have mastered each concept in context before moving on.

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 This is an introduction to a Visual Basic tutorial video, describing what the viewer will learn and how to access course resources.
 
 
 

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: 7/5/2026 7:49:36 PM. PLT: 1s
Keywords: option buttons, control arrays, list boxes, multi-select list box, combo box, drop-down lists, scroll bars, timer control, events, itemdata, frames, control properties, vba, copy items, move items, change event, scroll event  PermaLink  How To Use Option Buttons, List Boxes, Combo Boxes, and Timer Control Events in Microsoft Visual Basic 6.0