共用方式為


Creating and Using Objects 

Objects are combinations of code and data that can be treated as single units. Nearly everything you do in Visual Basic involves objects, from the controls you use to the forms on which you place them. This section discusses where objects originate and how to use them.

In This Section

  • How to: Access a Form
    Demonstrates how to access the members of a form without having to create a variable.
  • Resource Management
    Discusses how to save memory and system resources by releasing references to objects.