I think that generally the problem is that you aren’t in the proper directory to find the .prg file you need. Often this is because your development environment has set the path to include all the subdirectories you need but when you run the program directly the path hasn’t been set.
I know run a ‘dave.prg’ program to set the paths and then call the FoxPro projectI’m working on. You might want to do the same thing for your application. Or as ClayTech suggested, just put it in the form directly either in the init (or whatever) or in a separate user-defined method or property. The major problem with this way of doing things is that it can’t be easily changed for different users if they have different set-ups. Having a separate file makes it easier to modify.