2.29.1 ActiveX Controls
ActiveX controls are third party standard reusable components, which you can use in any application that supports ActiveX technology. Visual LANSA provides full support of ActiveX.
There are ActiveX controls for instance for calendars, text formatting, graphing, spell checking, advanced grids or web browsers. You can also integrate many applications, for example the Microsoft Office Suite (Word, Excel, PowerPoint etc.) into your Visual LANSA application using ActiveX technology. (For more information, see Integrating with ActiveX-Enabled Applications.)
LANSA provides support for the use of ActiveX controls and COM automation and the option of wrapping LANSA components as ActiveX components.
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.
Before You Decide to Use an ActiveX Control
Download and Install an ActiveX Control
Enrol an ActiveX Control in the Repository
Pre-Enrolled ActiveX Components