General information
Category:
Third party products
>>Hi, all.
>>
>>
>>Our clients have installed Adobe PDFWriter (version 4.0), and want to send some of our reports to this driver to create .PDF files from the output. We find that the PDFWriter CHANGES THE VFP DEFAULT DIRECTORY to the folder of the file created (before the report is created). Since we have some reports with relative pathing for images, they get "Invalid Path and/or Filename" errors within the report. After the report is over, it has CD'd to the folder of the file the PDFWriter was trying to create.
>>
>
>You could try the foxpro Set Path statment to the directory where the images are so Fox could still locate them.
Chuck -
Our problem is that when we issue the REPORT FORM x TO PRINTER NOCONSOLE command, we are in the folder C:\MYAPP. If the user is sending the report to PDFWriter, they might opt to put the file in F:\NETWORK\TEMP\OUTPUT.PDF. While the report is running (and from here on out), we are now in the F:\NETWORK\TEMP\ directory by default. We have coded our report engine to put us back in whatever directory we were in before running the report in the line of code following the REPORT FORM... command. However, I cannot control where I am while the report is running.
I hope this more clearly states our problem.
Thanks.
- George
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only