- Jon Stoller
- PowerBuilder
- Tuesday, 21 August 2018 09:04 PM UTC
I am using NativePDF! to create PDFs in my application.
It works on my PC (it is Windows 10).
However, it does not work on most of my user's PCs running the application.
It works on some, but not others where it does not create the PDF.
An example of the code is the following:
ldw_rpt.Object.DataWindow.Export.PDF.Method = NativePDF!
ldw_rpt.Object.DataWindow.Export.PDF.NativePDF.CustomSize=0
li_return = ldw_rpt.SaveAs(ls_folderfile, PDF!, true)
(ls_folderfile is the location and name of the PDF file)
When it works, li_return = 0
When it does not work, li_return = -1
Do you have an idea of what the problem might be.
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.