Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Visual Basic Concepts
-
2007年01月04日
Creating ActiveX Components
Component software development cuts programming time and produces more robust applications, by allowing developers to assemble applications from tested, standardized components. The move to component software, sparked by the success of products like Microsoft Visual Basic, is one of the most prominent trends in the software industry.
Microsoft has led the effort to define an open, extensible standard for software interoperability. The Component Object Model (COM), including Automation and the ActiveX specification, makes it possible for software components you create to work smoothly with software components you buy off the shelf.
Visual Basic makes ActiveX component creation happen. ActiveX controls, ActiveX Documents, code components, and applications that provide objects — Visual Basic gives you the tools to rapidly create, debug, and deploy software components.
Getting Started
Before you begin, you should know how to use class modules to define new classes, how to create objects from classes, and how to use ActiveX components. These subjects are discussed in "Programming with Objects" and "Programming with ActiveX Components," in the Visual Basic Programmer’s Guide.
Chapters
Provides step by step procedures that get you off to a running start with in-process debugging, multiple projects, global objects, object lifetime concepts, and circular references.
Provides step by step procedures that introduce threads, events in class modules, call-backs, and out-of-process debugging.
Provides a series of step by step procedures that create a simple control. Introduces ActiveX control concepts, raising events, debugging design-time behavior, and property pages.
Provides a series of step by step procedures that create a simple ActiveX document, and demonstrate ActiveX document concepts, navigation, properties and methods, menus, and debugging techniques.
Contains information of importance to all component designers, including terminology, concepts, instancing for class modules, polymorphism, and object models.
Contains more general information, such as setting up test projects, debugging features, adding Help, version compatibility, and localization.
Takes OLE servers into a new world, providing in depth discussions of in-process and out-of-process components, threading, instancing, call-backs, and events.
Contains in-depth explanations of how Visual Basic ActiveX controls work, what features you can implement, subtleties of debugging, discussions of implementation techniques, and all the other things you expect of a cool new feature.
Provides in-depth discussion of property pages, including implementation techniques and design guidelines.
Provides in-depth discussions of terminology, concepts, Internet features, navigation, debugging, migrating from forms, and in-process vs. out-of-process implementation.
Provides in-depth discussion and step-by-step procedures for creating ActiveX components that can act as data sources.
Contains updated guidelines for object naming, component shutdown, implementing collections and Application objects, and other object model issues.