Add the Visual LANSA Components

Visual LANSA

Add the Visual LANSA Components

In this step you create two non-visual ActiveX LANSA business objects which provide functionality for managing employee information. These objects are used by the Visual Basic form.

1.  Open the LANSA editor and create a new component named AXOBJECTA, type Reusable Part.

2.  Copy and paste into the Visual LANSA Editor the source code for Reusable Part AXOBJECTA into the component.

4.  Use the Set ActiveX Attributes command in the ribbon.

     This step exposes the Visual LANSA component as an ActiveX Control.

5.  Repeat steps 1 to 3 for component  Reusable Part AXOBJECTB.

6.  Compile components AXOBJECTB and AXOBJECTA.

Ý Case 3 - Use Components as Business Objects