Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Home or sys
Message
From
02/01/2007 13:36:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181372
Message ID:
01181503
Views:
7
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform