Hello,
My application use OLE to make a connection to Word.
Consider this situation :
I have opened a Word-document in my FWH-application. Manually, I open a second Word-document, apart from my application.
Then I want to close my document opened by my application. To do this, I use this syntax :
But what happens ? Not only my document, opened by my application through OLE is closed. My manually opened document is closed too.
I want to close only the document, opened by my application through OLE. But how do I do that ?
I hope to have been understandable to you all.
Thanks a lot for any help.
My application use OLE to make a connection to Word.
Consider this situation :
I have opened a Word-document in my FWH-application. Manually, I open a second Word-document, apart from my application.
Then I want to close my document opened by my application. To do this, I use this syntax :
wOle:Documents:Close()But what happens ? Not only my document, opened by my application through OLE is closed. My manually opened document is closed too.
I want to close only the document, opened by my application through OLE. But how do I do that ?
I hope to have been understandable to you all.
Thanks a lot for any help.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773