Thanks for the reply Sergey. I have the Config.FPW as part of the project already. Is it because MyService.exe is actually started by SRVANY.EXE and the starting folder is where SRVANY.EXE is located? Still RESOURCE=OFF should cause MyService.exe not to create the foxuser files, right?
>Try to include config.fpw into EXE.
>
>>Hi all,
>>
>>I have a test exe that I registered as a Windows service. The exe has a single program that creates an instance of a session class. It uses a config.fpw file for the following:
>>
>>screen=off
>>sysmenu=off
>>safety=off
>>confirm=off
>>resource=off
>>
>>
>>I know that the exe uses the config.fpw because the VFP screen is not displayed when I start the service from the Windows Services applet. If I delete/remove the config.fpw, the VFP screen is displayed when I start the service.
>>
>>However, everytime the service starts, it asks for a confirmation to delete an invalid resource file. How do I prevent this confirmation from displaying?
ramil
~~ learning to stand still