In this example, Microsoft Word is integrated with LANSA using ActiveX. The example application can be used to start Word, create new documents based on a template, insert data from the repository to the document and to close, print and save documents.
You can copy and paste the example from Example Source.
In the following, we use the pre-enrolled component #VA_WORD as the Microsoft Word ActiveX control.