Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How determine strartup folder inside app started from VF
Message
De
30/09/1998 07:38:38
Dmitry V.Glouzdov
LUKOIL (Nizhny Novgorod)
Nizhny Novgorod, Russie
 
 
À
30/09/1998 06:14:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00142271
Message ID:
00142293
Vues:
31
Hi!
Thank you for reply.
>Hi, neighbor
>If I understand correctly, you want to get the folder your app is in. That's simple, you use CURDIR(), or even better something like following:
>
 lcCurrentDirectory = SYS(5); &&  current drive
> + CURDIR()  && current directory
This will work only if you will start MyFile.App from System Menu Program/Do
or type in Command Window two commands:
SET DEFAULT TO (sMyAppLocation)
DO MyFile.App

But how determine folder (sMyAppLocation) inside my app if I will type next:
SET DEFAULT TO HOME()
DO (sMyAppLocation+"MyFile.App")
???????????
* Dim-Dim *
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform