Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to Adobe Acrobat Distiller changed path
Message
From
30/09/2003 04:49:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Printing to Adobe Acrobat Distiller changed path
Miscellaneous
Thread ID:
00833388
Message ID:
00833388
Views:
47
Hi,

When printing to the Adobe Acrobat Distiller print driver, the default 'MS-DOS' path changed. The result is that after returning from the reportform, several files aren't found anymore and the app crashes.

I changed the code in the Run button click method (creportform class in ccustfrm.vcx) as follows:

LOCAL lcCurdir

** When printing to Adobe Acrobat Distiller print driver,
** the 'MS DOS' path may have been changed
** Therefore: restore it after printing

lcCurdir = SYS(5)+CURDIR()
DODEFAULT()
SET DEFAULT TO &lcCurDir


This seems to work. Is this the right approach?

Mark
If everything seems to be going well, you obviously don't know what the hell is going on !
Next
Reply
Map
View

Click here to load this message in the networking platform