Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Error calling Word OLE – PB Docs 2022 – PowerBuilder Library

Error calling Word OLE – PB Docs 2022

Error calling Word OLE

Symptom

An error occurs when executing the following code using Word OLE
in PowerBuilder:

Environment

PowerBuilder 2017 or later

MS Word 2007 or 2013

Cause

Starting from MS Word 2016, it supports the Read Mode. After you
open a document, it is in Read Mode by default. So it fails to execute
the insert operation.

Solution

After you open the document in OLE, execute the following code to
turn off Read Mode:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x