-
Riccardo Pasqualetti
- PowerBuilder
- Wednesday, 5 November 2025 02:35 PM UTC
Hi everyone,
The datawindows saveas function crashes if I use Excel12 as the export type.
I always found the solution on this forum: install .Net Framework v4.x or higher and distribute two DLLs: PBDWExcel12Interop.dll and Sybase.PowerBuilder.DataWindow.Excel12.dll.
In my case, I meet all the requirements. The DLLs are not located in the same folder as the application, but in a separate folder where all the PowerBuilder runtimes are located. I've configured the application's XML to look for the runtimes in that folder.
This doesn't work, and I get a crash. If I copy the two DLLs to the same folder as the application, then saveas works.
Why?
Thanks.
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.