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 < 0 THEN
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
Thanks!