Asim,
Tapping the X doesn't close a form, it just minimizes it. If you want to
form to close, set MinimizeBox = false for the form, and the X will become
OK.
--
Ginny Caughey
..Net Compact Framework MVP
"Asim" <(E-Mail Removed)> wrote in message
news:04f901c3b26c$7b2b8e50$(E-Mail Removed)...
> Hi
> I am using VB .NET and Pocket PC 2002 as platform. I want
> to know about events generated by tapping the
> circular "cross button" seen in upper right corner of the
> main form. Reason -- my application generates fatal error
> when it's re-activted (from Settings - Memory - Running
> Programs - Activate) after tapping the cross and then
> closed.
>
> If it's closed without de-activating the main form (by
> tapping the cross in upper right corner of main form) it
> does not generate any error.
>
> The error I get is -->
> Fatal Application Error (Exception 0x80000002)
> The application has performed an illegal operation...
>
> Please guide.
> Regards,
> Asim.
|