2.29.2 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.

Activex 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 Component Classes.