>Hi,
>I have written an app which uses a menu to start all forms/programs/reports etc.
>
>What do I need to put in the menu exit code to prevent the app from ending if there are any programs still running? Can I detect any running forms etc?
>
>Thanks, Chris
Crhis,
DO NOT make the menu your Main file in the project. Create a program that runs your menu, something like this;
DO MyMenu.mpr
READ EVENTS
The Read events will keep you application running. You will also need to provide the user a way to end the application, perhaps one of the menu options that will issue CLEAR EVENTS.