Visual Basic Concepts

ActiveX Component Standards and Guidelines

Your component will be easier to use if your object model is similar in style to those of other components, and if the methods and properties of your objects have the same names as methods and properties that provide the same functionality for objects provided by other components.

This appendix includes the following topics relating to these issues.

Topics

Object Naming Guidelines

How to select names for constants, for the classes your objects are created from, for the members — properties, methods, and events — of your classes, and for the named arguments of those members.

ActiveX Component Shutdown

Describes what you have to do to create well-behaved components, and what Visual Basic does to help you. Explains Visual Basic’s shutdown rules for components.

Object Model Creation Guidelines

Offers guidelines for creating robust collection classes and root objects for your component’s object model, and provides references to additional information.

Creating Interfaces for Use With the Implements Statement

Rules and guidelines for creating components that are compatible with Visual Basic's Implements statement.

For More Information   "Programming with Objects" and "Programming ActiveX Components," in the Visual Basic Programmer’s Guide, contain information you may find helpful in understanding these issues.