Alan,
If the PRG is in the project and it's not marked as excluded it'll be in the app/exe, so I'm not sure why you are testing to see if the prg exists. In your runtime I think you need to test for the existence of the FXP instead of the PRG.
>I am using FILE() to test for a .prg file's existence before running it. This is ok in my development environment, where the .prg exists on the search path, but when I compile the application into an .app file and run it in a 'live' environment (no .prg files) the FILE() function returns .F..
>
>Is there any way I can test for the existence of a .prg (or procedure) in an .app? I am using VFP 7 SP1.
>
>I guess the same will happen if I compile the application into an .exe, though I haven't tried it yet.