Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set DEFAULT to a form's directory in INIT()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00883530
Message ID:
00884149
Vues:
9
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform