-
Jesper Trebbien
- PowerBuilder
- Friday, 2 May 2025 09:27 AM UTC
Hello
Program works fine on my computer but on our batch server it returns "This command is not available because no document is open".
Error comes when program try to save the pdf, like this: lole_doc.ActiveDocument.saveas2( is_arkiv_folder + '\' + is_filnavn_pdf, PDF!)
My computer use Microsoft® Word til Microsoft 365 MSO (Version 2502 Build 16.0.18526.20286) 32-bit and PowerBuilder 2022.
Batch server use Microsoft® Word 2019 MSO (16.0.10417.20007) 64 bit
I have attached file with screenshot of the PB code and log file showing the error message.
Feedback with any conception or any solution is welcomed with pleasure.
Regards
Jesper
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.