You can extract or load an ActiveX type library as part of the schema into which it is imported or you can extract only the ActiveX type library itself. Generated classes, methods, properties, and constants are extracted as part of a full schema extraction.
As no persistent instances of interfaces or automation objects are created, no instance data is extracted or loaded. ActiveX controls are treated like all other controls during the extract and load processes.
To extract an ActiveX type library only
In the External Components Browser, select the type library that you want to extract.
Select the Extract command from the ActiveX submenu of the Components menu. The Extract External Component dialog is then displayed. (You can only extract the entire ActiveX type library selected in the current schema.)
In the Schema File Name text box, specify the name and location of the ActiveX schema file you want to extract; for example, s:\jade\bin\acx\Microsoft_Windows_Common_Contr.scm. If you do not specify a location, the file is extracted to your JADE working directory.
If you want to extract the ActiveX schema to an existing file or you are unsure of existing extract file names or location, click the Browse button. The common File dialog is then displayed, to enable you to select the appropriate file or location, if required. The file name defaults to the default name assigned by JADE to the ActiveX type library, with a .scm suffix.
In the DDB File Name text box, specify the name and location of the ActiveX forms file that you want to extract; for example, s:\jade\bin\acx\Microsoft_Windows_Common_Contr.ddx. If you do not specify a location, the file is extracted to your JADE working directory.
If you want to extract the ActiveX form and control definitions to an existing file or you are unsure of existing extract file names or location, click the Browse button. The common File dialog is then displayed, to enable you to select the appropriate file or location, if required.
The file name defaults to the default name assigned by JADE to the ActiveX type library, with a .ddb
If you want to specify options for your extracted ActiveX type library (for example, to encrypt extracted source or to extract all global constants, external functions, and translatable strings rather than only those that are used), select the Schema Options sheet and select the extract options that you require.
Click the OK button to extract the ActiveX type library selected in the External Components Browser. Alternatively, click the Cancel button to abandon your selections.
When you extract an ActiveX type library, its associated classes, methods, properties, and constants are also extracted.
For details about extracting or loading the ActiveX type library as part of the schema in which it is defined, see "Extracting Your Schema", in Chapter 10.