In your CONFIG.FPW file, put the following line:
SCREEN=OFF
This will hide the VFP window.
When you close an app using the app's closebox, the ON SHUTDOWN routine executes. Put the following in your main program.
ON SHUTDOWN Do AppCleanup
in AppCleanup, close up shop: release all the forms you have open, CLEAR EVENTS, etc.
>I'm trying to get rid of the VFP screen when running my exe. I set the form to the top-level window so it covers up the VFP caption but ..
>it still shows on the bottom & lists which record I'm on, etc. I don't want that to show. Also, when I quit the exe, I got an error message saying "cannot quit Visual Fox Pro". What's wrong?
>
>I wanted to maximize the form. Instead I maximized the VFP screen. In the form properties I set the window type to top-level.
>
>Thanks