>My VFP7/SP1 application consists of a main.prg, a few .prg-based classes, and a single form. I only want to see the form, but when I launch the .exe, the main VFP window shows, then the form starts, and when I click my [Quit] button in the form (click method contains ThisForm.QueryUnload() and ThisForm.Release()), the form goes away but the main VFP window is still there - of course "Cannot Quit Visual FoxPro"....
>...
For the "Can't quit" part, see the ON SHUTDOWN command. For example:
ON SHUTDOWN do CloseApp
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)