Creating an Application with an ActiveX Designer

In Visual Basic 5.0, the Add ActiveX Designer command on the Project menu adds a previously defined ActiveX designer to the development environment. After adding an ActiveX designer, an end user can incorporate it into an executable Visual Basic program.

The table below lists the steps involved in creating a simple application that uses an ActiveX designer. For each user step, Visual Basic takes one or more actions. The sections that follow describe these actions in detail.

User action

Visual Basic action

Installs an ActiveX designer.

None.

Adds an ActiveX designer to the environment.

Obtains the list of ActiveX designers.

Adds an instance of an ActiveX designer to the project.

Creates and initializes a visual designer.

Displays the designer's user interface in a frame.

Browses and edits properties.

Uses property browser.
Manages the user's selections.
Tracks changes to type information.

Writes code attached to an ActiveX designer.

Displays the code window.

Builds or runs the project.

Creates a run-time object.

Clicks End to stop execution.

Ceases execution.