Opening 2 Word-documents from my application - solved
Posted: 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:
Does anyone know why this message appears?
Is there a solution to avoid this message?
Thank you very much in advance for any help.
I want to open 2 Word-documents in my application.
This is the source code I use:
- Code: Select all Expand view
- oWord1 := TOleAuto():New("Word.application")
oDoc1 := oWord1:Documents:Open(cFile1)
oWord2 := TOleAuto():New("Word.application")
oDoc2 := oWord2:Documents:Open(cFile2)
Does anyone know why this message appears?
Is there a solution to avoid this message?
Thank you very much in advance for any help.