exit application

  • Thread starter Thread starter Costi Stan
  • Start date Start date
C

Costi Stan

Hi,

how do i exit a pocketpc application?
Using Application.Exit() seems not working ?!


Thanks,

Costi
 
After making sure any threads you have created are stopped, close the main
form (i.e. the form you passed to Application.Run).

Cheers
Daniel
 
I'm not starting any threads. I'm only using a webservice and a COM
(PocketOutlook), but this should not be a problem.
Even closing the main application doesn't work. Are you sure it's the only
thing i can do?

Thanks for your answer!

Costi
 
What happens when you close the main form (and in fact how are you doing
that, show some code)?

Cheers
Daniel
 
Make sure you release the PocketOutlook application instance, depending on
which implementation you are using this may vary but commonly it means
calling Dispose() on your outlook application instance.

Peter
 
Back
Top