>>Are you sure it's using the config file you modified?
>>
>>
>>>I tried COMMAND = DO form start, but no result.,
>>>
>>>Does it also work for forms or just to .app ?
>
>I edited the file in:
>C:\Program Files (x86)\Microsoft Visual FoxPro 9\Samples\Servers\Foxisapi\Foxis
>
>I want to execute it everytime I enter VFP.
>
>Is there anything to do besides edit the file ?
>
>It is as below:
>
>screen=off
>
>COMMAND = set defa to c:\s1
>COMMAND = do form start
>
>
>Moises
You can only have ONE Command= in config.fpw, so the second Command= will be ignored. Instead create startup.prg and call that.
set defa to c:\s1
do form start
screen=off
COMMAND = do startup.prg