(PB2022 R2) - I have an OLE object which interfaces with Word. It opens a document and inserts data into bookmarks. If the user saves the document via the 'Save' button in our Powerbuilder app, or File...Save from Word, it works fine. The problem occurs when the user closes the document by clicking on the Close button ('X' button at top right of Word app). I can't seem to capture that event before the document closes.
I was wondering if there is a way to disable the 'X' button in Word when I first open the document?
Thank You,
Frank