>I want to create an .exe which shows only one form - nothing else - and shuts down when that form is closed.
>
>Q: What code do I need in my main .prg file?
>
>Thanks
In your config.fpw, SCREEN=OFF
Your form needs to have the ShowWindow property set to 2 (Top-Level).
After you issue the command to display it, READ EVENTS.
You'll need an ON SHUTDOWN routine to clean up, and when the form's released, CLEAR EVENTS.
George
Ubi caritas et amor, deus ibi est