ERROR #3704: Operation is not allowed when the object is closed. Course List - VB 105
 

4/24/2017: You may see an "operation not allowed" error on the site. We're working on fixing the problem. Nothing seems to be affected, it's just annoying. Carry on. :)   [dismiss]
 

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  
 
NEW Release: Access Advanced Level 4 and Level 5   dismiss
 
 
Courses - Microsoft Visual Basic 105
Description: Using Microsoft Visual Basic
Running Time: 74 minutes
Pre-Requisites: Visual Basic 104 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 VB104. We'll begin by learning Option Buttons and Control Arrays. I'll show you first how to make the option buttons without an array, and then with one. And, of course, we'll learn how to read the value of the option buttons in code.


Next we'll learn about creating List Boxes. We'll see how to read the values from a ListBox, display all the items, learn about the ListCount and ListIndex properties, and the AddItem, RemoveItem, and Clear methods. We'll see how to create a sorted ListBox.



We'll make two list boxes and a button to move one
item from the left box to the right one


We'll then take List Boxes further with the Multi-Select List Box. This will allow you to highlight multiple items and do "stuff" with them. Of course, we'll learn how to work with this data in our VB code. We'll learn about the Selected, ItemData and NewIndex properties. We'll also learn about the ID tags that can be stored with items.



Same example, but moving multiple items at once

 

Next we'll learn about Combo Boxes, Drop-Down Boxes, Drop-Down Lists, and how to manipulate them with code.



A Standard Combo Box



You'll learn how to add an item to the Combo Box if
it's not already in there
 

Next we'll learn about Scroll Bars - no, not those things on the side and bottom of your window that let you move up and down on the screen (well, you could use these for that - but we have different plans). These scroll bars allow you to change values in your forms. You'll learn about the Min, Max, Value, SmallChange, and LargeChange properties, and the Change and Scroll events.



A simple Scroll Bar "spinner button"
 

In this lesson, we'll learn more about the Timer control - how to use it to time longer intervals. We'll also learn about the Format Function and how to run an event at a specific time of the day.



This doesn't look like much, but we can program the Timer
Control to run an event at a specific time of day - in this
example, just to close the form.

 

 Click here for the Teacher's Outline
 


Try a FREE Demo Lesson

 
 
 

Student Interaction: Visual Basic 105

Richard on 1/1/2008:  VB105 covers option buttons, control arrays, list boxes, multi-select listboxes, combo boxes, scroll bars, timer control, drop-down lists, and lots more.
 

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
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