1. David Vasconcelos
  2. PowerBuilder
  3. Tuesday, 21 November 2023 15: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.

 



There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.