>>
>>
>> That's my problem, how do I know the exe directory. When the user install
>> my app, s/he can choose installation(exe) directory, but how do I set:
>> SET DEFAULT TO ????
>> SET PATH TO ????
>
>Setting working directory from icon with sys(5)+curdir() wouldn't help ?
>I use is very often, it gives always right directiry.
>hth
>Dezider
>--
I think SYS(2014,"APPNAME.EXE")can help you.
from the vfp help file->
SYS(2014) can be used with FULLPATH( ) to make applications portable. That is, when given the location of the current program and the location of other files used by the program, FULLPATH( ) and SYS(2014) obtain the proper paths for these files. Once the files' paths are determined, the files can be accessed by the program.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca