7 3 ActiveX Wrapping

Visual LANSA

7.3 ActiveX Wrapping

You can expose LANSA components (forms and reusable parts) as industry standard ActiveX controls on Microsoft Windows. In this way you can expose the functionality of your components to a range of third party applications.

Using ActiveX wrapping you can:

  • Integrate LANSA applications with other tools that support ActiveX  (e.g. Borland's Delphi and Microsoft's Visual Studio).
  • Make LANSA business logic more accessible to other tools
  • Enable Independent Software Vendors (ISV) to expose application business logic to their customers.

Examples in this guide have been provided in Visual Basic 6.0 due to its common use in the market place. Tests have also been performed using Borland's Delphi and Visual Studio.NET (C## and Visual Basic).  For specific syntax for these tools, please refer to the user documentation of the respective tool.

Before trying out the examples, please check that the 7.3.1 Prerequisites are satisfied.

7.3.1 Prerequisites

7.3.2 Creating an ActiveX Component

7.3.3 Examples

7.3.4 Troubleshooting

7.3.5 Syntax differences from Visual Basic 6.0 to Visual Basic.NET

7.3.6 Source Code

Ý 7. ActiveX Controls