Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Home or sys
Message
De
02/01/2007 13:36:24
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01181372
Message ID:
01181503
Vues:
8
>>What is your preference on the use of 'HOME()' vs 'SYS' when setting a path to an app?
>
>JUSTPATH(SYS(16,1))
>* or
>JUSTPATH(_VFP.ServerName)

I have used SYS(16,1) to determine the starting directory of programs. However, when the program is only an APP file (not compiled to an EXE), then SYS(16,1) only returns the name (no path) of the application. So the question is, in the case of an APP executable, what is the best means of determining the directory location of the APP? Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform