Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and MS Office Document Image Writer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01225361
Message ID:
01225374
Vues:
19
>Since I installed MS Office on my computer, I have a "Microsoft Office Document Image Writer" in my printer list. I found practical to test documents printing with this, but each time I choose this printer, I loose my VFP's environment (including path, so my app fire an error bacause it didn't find the database). With other printer (local, network even generic text) I have no problem.
>
>Any idea is welcome.

As a workaround you can always save your path and current directory and restore them after REPORT FORM command.

I think I had similar problem with printing into Adobe Writer...

e.g.

local lcPath, lcCurDir

lcCurDir = fullpath("")
lcPath = set('path')

report form ...

cd (m.lcCurDir)

set path to &lcPath
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform