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 :
- Code: Select all Expand view
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.