Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

11.6.1 How to use the ActiveX control in an HTML Form

You need to use the "OBJECT" tag. For example:

<OBJECT WIDTH="120" HEIGHT="150" 
CLASSID="CLSID:F6E48B22-03A0-11D3-88F9-00000E98DD12"> </OBJECT>

Specify the size of the ActiveX control to WIDTH and HEIGHT, and set CLASSID to the value received from the following operation:

  1. Open the "OLE" tab in the Form's properties dialog.

  2. Click the "Set Class ID..." button in the dialog.

  3. Click the "OK" button in the message box, with ignoring the caution.

  4. You can see the CLASSID in the "Object CLASSID".

11.6.1.1 Example

If the value of "Object CLASSID" indicates {409A0921-0793-11D3-88F9-00000E98DD12}, you code the HTML as follows:

<OBJECT WIDTH="120" HEIGHT="150" 
CLASSID="CLSID:409A0921-0793-11D3-88F9-00000E98DD12">
</OBJECT>

"{" and "}" are not required. Refer to documentation regarding W3C or HTML for details of "OBJECT" tag.

Notes