8 2 Using NET Components

Visual LANSA

8.2 Using .NET Components

To use a .NET Framework component, first ensure that the computer has the Microsoft .NET Framework turned on. Versions of Microsoft Windows since Windows Vista/Windows 2008 come with the .NET Framework included but not all versions of the framework are turned on by default. See Microsoft Windows documentation for further help on turning on the .NET Framework.

The next step is to create a .NET Component in Visual LANSA. Once created, the .NET Component can be used the same way as any other Visual LANSA component. An instance of the component can be created and its properties, methods and events can be used. Some components are very simple and little programming is required to use them, others provide complex functionality and may require much more coding than using native Visual LANSA controls.