Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent foxyprevier to copy libhpdf from start di
Message
 
To
09/12/2011 14:43:26
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01530740
Message ID:
01530761
Views:
50
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform