>I have a (very) small app that consists of 1 (one) form.
>
>When the user clicks the top right corner X the form closes, but the exe does not terminate.
>
>How can I trap this event so that I at least can see what's going on?
>
>BR & TIA
This is usually because of a "dangling" reference. Something might still be referencing the form and so the app does not quit. How are you instantiating the form?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.