OLE2 with Ora-forms and MsWord

From: Arjen Huisman <arhuisma_at_xs4all.nl>
Date: Thu, 06 Apr 2000 23:58:22 +0200
Message-ID: <38ED087E.F0E14F95_at_xs4all.nl>



Hi,

The OLE2-package is usefull tool for interaction between Oracle-forms and Microsoft Office.
Using a statement like " Handle := ole2.create_obj ("Word.Application")", I can start a new MsWord session. I found out that with the OLE-object Word.Tasks you can control the number of MsWord sessions running on your computer by using the method "Exists". What I want is to check if there is a MsWord version already running and use this instance for OLE2, if not, start a new instance by creating a new instance myself. In VB this is not so hard to do, but I haven't found a way with OLE2.

  1. Is someone familiar with this problem and have a solution for it 2 Does some have working examples of OLE2 using the Oracleforms and MsOffice?

Arjen Received on Thu Apr 06 2000 - 23:58:22 CEST

Original text of this message