Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent foxyprevier to copy libhpdf from start di
Message
 
À
09/12/2011 14:43:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01530740
Message ID:
01530761
Vues:
43
>Application code assumes current directory is user directory, it creates user specific files.
>It is huge work to find all places and change them all.
>
>I tried
>
>LOCAL vcurdir
>vcurdir = sys(5)+curdir()
>SET DEFAULT TO ..\exedirectory
>FOXYPREVIEWER()
>set defa to (m.vcurdir)
>
>but libhpdf.dll is still copied to every user directory.
>Only foxypreviewer_settings is stored in exedirectory in this case.

How about:
LOCAL vcurdir
vcurdir = sys(5)+curdir()
lcPath = SET("PATH")
SET DEFAULT TO (JUSTPATH(SYS(16,1)))
SET PATH    TO

FOXYPREVIEWER()

SET PATH TO (lcPath)
set defa to (m.vcurdir)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform