Hi
Our client complains that whenever they are trying to export a report in PB application they are getting the application error as attached in the screen shot.
They are getting this error when they are using Microsoft 365 and its working perfectly when they have installed Microsoft 2016.
Can anyone please help .
Regards
Subrat
Thank you for those "vitals"!
Yes, OLE could certainly be your "achillis heel" when moving to O365 as Microsoft has tweaked the DOM (Document Object Model) a bit on this newer release (vs say Office 2015 => 2019).
FYI1: https://learn.microsoft.com/en-us/visualstudio/vsto/word-object-model-overview?view=vs-2022&tabs=csharp
FYI2: https://learn.microsoft.com/en-us/visualstudio/vsto/excel-object-model-overview?view=vs-2022&tabs=csharp
So basically, you will probably need to refactor your OLE code a bit in your PB App(s) to traverse the modified DOM in O365.
Tip: You night also want to wrap your PowerScript OLE code in a TRY..CATCH to get more information when an exception is thrown.
HTH
Regards .. Chris
Thanks for the reply. I am unsure what has changed on the newer version, can you please guide me? I may be missing the important section which has been tweaked.
Regards
Subrat