ACTIVEX2EAGLE - v14


activex2eagle            "<destination path>" <ProgID>

Function

Utility program which automatically generates a set of Eagle macro files (Eagle stubs) which can be used to control from within Eagle all of the properties and functions exposed by the relevant selected ActiveX.

Parameters

"<destination>"

This is an independent executable and should be run as a utility program.
 

<ProgID>

This is an independent executable and should be run as a utility program.

 

Notes

The utility called axhelper.exe extracts the ProgIds of currently installed ActiveX controls (If you already know the ProgId you need for the relevant OCX then you can simply start using activex2eagle executable.  If you don't have the relevant ProgID then refer to the axhelper utility command executable first to obtain it.  Once you have a ProgID then you can proceed as follows:

 

Start the ActiveX2Eagle program using the following syntax

ActiveX2Eagle "[DESTINATION PATH]" [ProgId]

For example for the Excel ActiveX

ActiveX2Eagle "C:\Controls\ExcelStubs" OWC.Spreadsheet.9

Where OWC : Office Web Component - is a collection of components included in Microsoft Office which can be plugged into development applications. The components included are Spreadsheet, Chartspace, Pivot chart and Data source component.

The resulting macro stub files from the ActiveX2Eagle generation are then placed in the directory you specified, in this case C:\Controls\ExcelStubs.  These Eagle stubs are needed to control, from within Eagle, all of the properties and functions exposed by the Excel ActiveX that you originally selected .

See also

Integrating Components, axhelper