>Hi all,
>I have a main prog that create a application object (a top level form class).
>When close the program, I see in task manager and see that the process of this program is just alive. When shud down ths system show an error window with "Cannot Quit Visual Foxpro".
>The "clear events" is in a button click event of the top form app.
>What should I do to release the process ?
>T.I.A.
>
>Dino
You need a ON SHUTDOWN routine as Marcia said. See if this helps explain it -
http://www.ml-consult.demon.co.uk/foxst-07.htm