Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set DEFAULT to a form's directory in INIT()
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00883530
Message ID:
00884149
Views:
8
Sergy,

>>Aniother one
SET DEFAULT TO (ADDBS(JUSTPATH(_VFP.ServerName)))

No, that will not do it. In my case, the exe was on a logical drive (M:) and VFP was loaded on C:. _VFP.ServerName gives the location of the VFP(6/7/8).exe. I needed the location of the application exe:

SET DEFAULT TO ADDBS(JUSTPATH(SUBSTR(SYS(16), AT(":", SYS(16)) -1)))

Regards,
Thom C.

P.S. Thanks for all the help you've given me in the past.
Previous
Reply
Map
View

Click here to load this message in the networking platform