>>>>>>>>>>>>>
Right now the default foxpro window opens. This won't be acceptable in my final program. I need it not to show (I know how to do that) but I need my main form to automatically show.
>>>>>>>>>>>>>
james gave you a correct answer. As for the main VFP window, add a CONFIG.FPW to your project (and compile into your EXE) containing the line SCREEN=OFF plus whatever other settings you need.