Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is my application is running from
Message
 
To
27/05/1998 06:54:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102285
Message ID:
00102427
Views:
30
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform