Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Loading
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 12: Object-Based Programming
Last change: February 13 2016 18:48:25.
<<PreviousNext>>

12.2 Building and Using a Class

So, how do you build a class from which you can create objects? You build a class by writing code in a class module. You can think of a class module as a form module without its visual element; that is, a class module behaves like the code window of the form.
Last change: February 13 2016 18:48:25.
  1. Object and Class Defined
  2. Instance and Static Members
  3. Advantages of Object-Oriented Programming
  • 12.2 Building and Using a Class
    1. Differences Between the Class Module and the Standard Module
    2. Adding a Class Module to a Project
    3. Creating the Fixed Asset Class
    4. Creating a Property
    5. Creating a Method
    6. Using the FixedAsset Class
    7. Default Property Setting and the Constructor
    8. Building and Using a Class: A Recapitulation
    9. <<PreviousNext>>