7 1 Using ActiveX Controls

Visual LANSA

7.1 Using ActiveX Controls

To use an ActiveX control, you need to first install it on your computer. After this you need to enroll it in the LANSA repository as an ActiveX component.

You work with ActiveX controls the same way as you work with any other controls: by using the control's properties, methods and events. Some controls are very simple and little programming is required to use them, others provide complex functionality and may require much more coding than is needed than when using native Visual LANSA controls.

Active-X Exception Handling traps failed HRESULT values at runtime so that they do not cause application failures. Access is provided to the HRESULT values. For more information, refer to COM Error in the Visual LANSA Feature Help.

7.1.1 Before You Decide to Use an ActiveX Control

7.1.2 Obtaining ActiveX Controls

7.1.3 Enrolling an ActiveX Control in the Repository

7.1.4 Pre-Enrolled ActiveX Components

7.1.5 Viewing the ActiveX Control

7.1.6 ActiveX Terminology

7.1.7 Using an ActiveX Control

7.1.9 Licensing and Deployment

Ý 7. ActiveX Controls