The normal way is to have this file as a seperate file in the same directory as you exe.
>so i should write this line in the config.fpw file of my VFP environment before compiling my executable ?
>
>>>i never wrote anything in this file. Is It enough to set the resource off in the main program ?
>>
>>No, because the first line of your main.prg runs after the VFP runtime already has created a foxuser.* pair.
>>The config.fpw file is evaluated earlier, so Tore's and Gregory's suggestion is the way.
>>
>>
>>hth
>>-Stefan
>>
>>>>In config.fpw:
>>>>RESOURCE=OFF
>>>>
>>>>>This morning a PC started my executable giving the error that the resource file was not valid, asking for deleting the old one for a new empty one.
>>>>>How can i get rid of this message ? The application is launched automatically at the start and there is nobody working on that machine so that i can't say anyone to click on the ok button :)