Mandy, you wrote, "evetime i open my VFP program, it slways shows this message ...". When you say "my" program, do you mean a program that you have written in VFP? In other words, a compiled executable?
If so, then you should do as Chris suggested, and place [tt]RESOURCE = OFF[/tt] in the config.fpw file. If you don't have a config.fpw file, create one and place it in the root directory of your application (which is probably the directory containing your main program).
Once you have done that, your application will no longer try to find the resource file, and won't create it if it can't find it. That will cause you absolutely no problem, as the resource file usually only contains settings that are relevant to the development environment.
If on the other hand, you are seeing the message when you fire up Visual FoxPro itself, you can simply answer Yes when it offers to recreate the file. If the problem persists, check the location where it is trying to create the file. To do so, go to Tools / Options / File Locations, and scroll down to Resource File. Make sure that the directory you are seeing there is valid. Ideally, it should NOT be a directory under Program Files.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads