UserDocument objects are the basis of an Active Document
application. A UserDocument bears the same relation to an Active
Document as the UserControl object bears to an ActiveX Control project:
It's the design basis for each component, providing built-in properties, events, and methods,
and also providing a visual design surface for the component's finished appearance. In
addition, you can add your own members to the finished component.
You can create an Active Document project with a new UserDocument
object either by starting a new Active Document project (a UserDocument
object automatically appears in the project) or by converting an existing VB Standard EXE
project to an Active Document.
Both possibilities are discussed in the following sections.
-
Converting an Existing Project to an Active
Document
-
Creating an Active Document Project
-
Choosing Between an Active Document EXE and
an Active Document DLL