- Gregory Rusak
- PowerBuilder
- Thursday, 17 October 2019 12:21 AM UTC
Hello Community,
PowerBuilder 2019 R
All Versions of Word
Does anyone have any feedback on why it is that if you open a Microsoft Word Macro-Enabled Template (.dotm) from Windows File Explorer, that you get the expected Security Warning message as follows:
But if you use OLE Automation in PowerScript for example (and sending Edit/0 as the Verb - have tried others):
li_return = dw_enblob_word.OLEActivate(ll_enblob_row, 'word_blob', 0)
IF li_return
PopulateError(100, 'Unable to OLEActivate')
gnv_app.of_app_error()
RETURN FAILURE
END IF
It appears that the Security Warning (and button to enable Content) does NOT appear:
Any ideas are greatly appreciated.
Greg
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.