The suggestion for copying files worked. That was just incase I cold not get the report PDF file to come up in Adobe.
I tried sending the file in FULLPATH():
THIS.PARENT.OLECONTROL1.LOADFILE(FULLPATH("&thepdf"),1)
It did not matter if I use [] instead of quotes or if sent 0 intead of 1 or no...
Yes, the file is there. It is created by the "pcl2pdf501.exe" program. The file is also placed in a variable "thepdf". The code checks to see if it exists by using the FILE() function before calling the LoadFile method. I have placed numerous "WAIT WINDOW" commands and they state that the...
A PDF file is created from a report file when it is selected from a grid. I get the error "OLE IDispatch exception code 0 from PDFDisplay: File not found." when sending the file to the OLECONTROL.LOADFILE method. The OLECONTROL is on the same form that has the grid of the reports to select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.