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
How to check OLE ?
How to check OLE ?
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: How to check OLE ?
I think you should follow one of two ways:
1. is your app that creates, fills, prints and closes the document.
2. as point 1 but your app doesn't close the document but shows it and leaves the rest to the user.
EMG
1. is your app that creates, fills, prints and closes the document.
2. as point 1 but your app doesn't close the document but shows it and leaves the rest to the user.
EMG
Enrico,
My application creates, fills, prints and closes the document.
Thanks.
My application creates, fills, prints and closes the document.
Thanks.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact: