- David Vasconcelos
- PowerBuilder
- Tuesday, 21 November 2023 03:53 PM UTC
PowerBuilder 2017 R3
Is there an alternative to be able to connect to MS word, add a template and run macros other then OLE. Reason for question is Security, client is adding additional Policies and the new policy prevents PowerBuilder from running an OLE command that assigns an "Add In" (a template) to a document. It is causing PB to fail. Since I don't have the new Policies in place I can't do much in finding what is erroring out.
The only thing I was provided is the error message.
Message: PowerBuilder Runtime Error: 35 at Line: 51 in Object: u_sscs_office_automation Event/Function: uf_enable_link_mode Text: Error calling external object function add at line 51 in function uf_enable_link_mode of object u_sscs_office_automation.
The line it is erroring/executing is
iOLE_Doc.AddIns.Add(ls_LINK_template, 1)
Thanks in advance
Dave V.
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.