Mike Lewis
Programmer
Just came across a worrying bug/feature. Imagine this scenario:
1. Your application sets its default directory to (say) c:\MyApp.
2. The app displays a printer dialogue box (e.g. via SET PRINTER TO NAME or REPORT FORM ... PROMPT).
3. The user uses the dialogue to select a PDF printer driver.
4. The PDF printer driver shows a File Save dialogue for its output file.
5. The user uses that dialogue to navigate to a different directory (say, c:\MyPDFs).
This will cause the VFP default directory to change to the one specified in the Save As dialogue. This in turn will inevitably cause problems further down the road.
I have verified this on my own system, which has the Docucom PDF driver installed. This consistently shows the behaviour described above.
Has anyone else come across this? Does it happen with other drivers?
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)