Select Project, and then choose Components. Browse to the IdcClient.ocx file on your system, and click Open. Ensure that the checkbox for the IdcClient ActiveX Control module is enabled, From the drop-down list of the Properties window, choose IdcClient O

Using the COM API for Integration 8-23

8.5.2 IdcClient OCX Control Setup

This section provides a the steps required to setup the IdcClient OCX component and also provides information about creating a visual interface in the Microsoft Visual Basic development environment.

8.5.2.1 Setting Up the IdcClient OCX Component

Follow these steps to set up the IdcClient OCX component in the Microsoft Visual Basic development environment: 1. Create a new project.

2. Select Project, and then choose Components.

3. Browse to the IdcClient.ocx file on your system, and click Open.

The IdcClient module is added to the Component Controls list.

4. Ensure that the checkbox for the IdcClient ActiveX Control module is enabled,

and click OK. The IdcClient OCX control is placed in the list of controls. 5. Optional You can use the Visual Basic development environment to build your own visual interface or follow the steps provided in Section 8.5.2.2, Creating a Visual Interface, to build a basic visual interface.

8.5.2.2 Creating a Visual Interface

The following procedure for creating a visual interface is based on the assumption that a Visual Basic project has been created and the IdcClient OCX control has been placed in the list of controls. For more information, see Section 8.5.2.1, Setting Up the IdcClient OCX Component. 8-24 Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management Follow these steps to build a basic visual interface: 1. Select the control, and draw it on the Visual Basic form, as Figure 8–1 shows. Figure 8–1 OCX Control Drawn on a Visual Basic Form Using the COM API for Integration 8-25

2. From the drop-down list of the Properties window, choose IdcClient OCX.

If the Properties window is not currently displayed, select View, and then choose Properties Window from the main menu.

3. Rename the IdcClient OCX control IdcClientCtrl.

4. Define HostCgiUrl to reference the iss_idc_cgi.dll for your particular

instance. For example: http:testserverintradoc-cgiiss_idc_cgi.dll Figure 8–2 Edited IdcClient Properties 8-26 Oracle Fusion Middleware Developers Guide for Oracle Universal Content Management 5. On the form, draw a text box, and name it CgiUrl.

6. For the text field, enter the HostCgiUrl value as the text to be displayed.