Cross in upper right corner of main form

  • Thread starter Thread starter Asim
  • Start date Start date
A

Asim

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.
 
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.
 
Back
Top