Peter,
You could add the line to your load or init method of your form.
HTH
>I have a program file... mymain.prg that has some functions I need on forms. The final app will built to an exe. I realize after I BUILD the exe and run it, the app works fine. But as I am testing using the Project manager I am not so lucky.
>
>As I am working on forms, button commands, etc, I need to call these functions. The only way I can get the "prg" file to be recongnized is to type:
>
>set default to "c:\myapp
>set procedure to mymain.prg
>
>Is there a way to ensure this is done during these testing processes WITHOUT having to type these two lines? I haven't found the pattern yet but as I am changing function lines in the PRG or working on the form, when I "run" it to test it, I often have to REDO those lines above.
>
>What am I missing here?
>
>Thanks