Procedure

Before you can use the ActiveX import feature, make sure that you register the .dll file using the Windows utility, regsvr32.exe:

regsvr32 <fully qualified path name to dll>

If you change the location of the .dll file after registration, you must reregister the file with the new location.

To import an ActiveX file:

  1. Double-click the Packages folder to expand it.

  2. Highlight the package to which the component will be added.

    If installing to the Components folder, highlight the Components folder.

  3. Select File | Install Component from the menu.

  4. In the Component wizard dialog, select Import from ActiveX File, then click OK.

    NoteIf the Import from ActiveX File option is not displayed, you are running EAServer Manager or the server on UNIX. You cannot create ActiveX components when either EAServer Manager or the server is running on UNIX.

  5. Enter the fully qualified path name of the .tlb or .dll file from which you are importing. Some development environments do not automatically generate .tlb files. Enter the name of the .dll file if this is the case. You can use the browse feature to locate either file.

  6. Click OK. The component is imported; the component name is the ProgID without the version number and with periods replaced by underscores. You can view the new component along with its methods and parameters from the EAServer Manager.