Create a Visual LANSA Component

Use Session.CreateComponent or .AddComponent in Visual Basic.NET.

Private MyComponent As LANSA_MYCOMP_LIB.MYCOMP

 

If Session.IsConnected then

MyComponent = Session.CreateComponent("MYCOMP")

End if