How to check OLE ?
Posted: Fri Jul 13, 2007 1:08 pm
Hello,
I use OLE to build a connection between my appliction and MS-Word.
I make the OLE-connection when my application is started. The Word-window becomes active when necessary. If I quit my application, the OLE-connection is broken en Word is closed.
So far so good, except when the use closes Word manually.
How can I check if the OLE-connetion is still OK ? Be careful : just checking if Word is opened, is not good enough. Word can be opened by the user manually which doesn't repair the OLE-connection.
Thanks a lot in advance
I use OLE to build a connection between my appliction and MS-Word.
I make the OLE-connection when my application is started. The Word-window becomes active when necessary. If I quit my application, the OLE-connection is broken en Word is closed.
So far so good, except when the use closes Word manually.
How can I check if the OLE-connetion is still OK ? Be careful : just checking if Word is opened, is not good enough. Word can be opened by the user manually which doesn't repair the OLE-connection.
Thanks a lot in advance