Steve,
You can't have a form as the Main. This is because VFP is basically creating one behind the scenes and all it does is call the form. You will have to leave your main.prg as the main.
>I have an app where the "main" of the .exe is a form. In the form's Load method, I have
>
>Parameters cParm1, cParm2, cParm3
>
>The exe compiles fine, but when I run it from the command line with parameters passed, I get the error "No parameter statement is found".
>
>This worked fine with a .prg as the main, where am I supposed to trap the parms in a form like this?