by driessen » Sat Apr 22, 2023 8:27 am
Hello,
I want to open 2 Word-documents in my application.
This is the source code I use:
- Code: Select all Expand view RUN
oWord1 := TOleAuto():New("Word.application")
oDoc1 := oWord1:Documents:Open(cFile1)
oWord2 := TOleAuto():New("Word.application")
oDoc2 := oWord2:Documents:Open(cFile2)
When the line starting with oWord2 is executed, this message always appears:
Does anyone know why this message appears?
Is there a solution to avoid this message?
Thank you very much in advance for any help.
Last edited by
driessen on Sat Apr 22, 2023 10:55 am, edited 1 time in total.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773