We are trying to export the contents of a DataWindow to XLSX via SaveAs(). It's not working (no new files, no error message). My educated guess is that I am not deploying some necessary DLLs.
What are the DLLs needed for this functionality?
We are trying to export the contents of a DataWindow to XLSX via SaveAs(). It's not working (no new files, no error message). My educated guess is that I am not deploying some necessary DLLs.
What are the DLLs needed for this functionality?
Hi, Troy -
For future reference, check the PB Help topic named "runtime files". The information is well organized. For example:
Best regards, John
Are we sure there aren't more needed? I copied those two into the same directory as my exe and it hasn't fixed the problem.
As a shot in the dark I also copied PBDWExcel12Interop170.dll but no change.
Keep in mind that you have to load Sybase.PowerBuilder.DataWindow.Excel12.dll into GAC or to deploy it in the exe directory!
pbDWExcel12Interop.dll
Sybase.PowerBuilder.DataWindow.Excel12.dll