Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is my application is running from
Message
 
À
27/05/1998 06:54:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00102285
Message ID:
00102427
Vues:
31
>Hi Boris --
>
>HOME() returns where VFP launched from.....CURDIR() is the current directory.
>
>>Hi All,
>>I must know where is my application is running from. What function (built in or Win32Api) I must call to find out the desire thing.
>> Thanks

I need to add one caveat. When the application loads, HOME() will givbe different values depending on whether it is run from within VFP or as an EXE. If the application is run within VFP (Do Myapp.EXE), HOME() will return the location of VFP.EXE. Otherwise, it will return the Windows\System directory.
Menachem Bazian, CPA
President
BC Consulting Services, Inc.
973-773-7276
Menachem@BazianCentral.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform