Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adobe Directory Woes
Message
From
10/04/2003 11:46:28
 
 
To
10/04/2003 11:40:18
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00776125
Message ID:
00776136
Views:
12
>>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
Map
View

Click here to load this message in the networking platform