Programming with Objects: Using Classes

As you learned in an earlier lesson, Visual Basic programs are built with objects such as forms and controls. Objects can also represent real-world things such as a person, a computer, or even something more abstract such as a bank account.

A class is just a representation of a type of object; think of it as the object's blueprint. Just as a single blueprint can be used to build multiple buildings, a class can be used to create multiple copies of an object.

In the following lessons, you will learn how to use classes in your Visual Basic programs.

In This Section