Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find the path to the EXE?
Message
 
À
07/03/1997 10:30:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00023277
Message ID:
00025037
Vues:
41
>Try this:
>
>SYS(5) + CURDIR()
>
I use the following:

glRunTime = (VERSION(2) = 0)
gcHome = IIF(glRunTime, SYS(2004), SYS(5)+SYS(2003) + "\")

SYS(2004) gives the application startup directory, but in the development environment this is the VFP directory.

Rob Giorgi
Robert.J.Giorgi@lmco.com
Rob Giorgi
Personal: EMail rjgiorgi@hotmail.com
Company: EMail robert.j.giorgi@lmco.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform