Selecting Your ActiveX Type Library

When you have selected the Control Library or Automation Library submenu command, the first sheet of the ActiveX Import Wizard, shown in the following image, is then displayed.

This sheet enables you to select the ActiveX type library that you want to import. (The type libraries displayed in the Type Library Name column box are determined by the Import submenu command that you selected; that is, the Control Library or the Automation Library command.)

The location of each of the type libraries registered in the operating system registry for your workstation is displayed in the Location column.

When importing control objects, the Type Library Name column includes all libraries that contain at least one control or libraries marked as being control libraries in the operating system registry. When importing automation objects, the Type Library Name column contains all libraries that are not marked as control libraries in the operating system registry.

A library that is not marked as a control library can also contain controls. If a library contains both controls and automation objects and you require access to both types of objects from JADE, you must import the library twice; once as a control library and again as an automation library.

To select the type library that you want to import

  1. In the Type Library Name column, select the ActiveX type library whose ActiveX object definition you want to import into JADE. If the type library that you want to import is not listed, you must first register that library in the operation system registry of your workstation. For details, see "Registering an ActiveX Server", later in this chapter.

    For details about searching for text in a table, see "Importing ActiveX Control Libraries and Automation Libraries", earlier in this chapter.

  2. Click the Next > button.

When you click the Next > button, the ActiveX Import Wizard then enables you to change the default name assigned by JADE for your abstract class.