On PocketPC applications don't actually close when you hit the "X" the
application minimizes (smart minimize). If you want to close your
application set Minimize=false which will give you and "OK" button instead of
an "X" button in the top right. This way you will close your application and
when restarted it will be at it's default state.
---
Mark Arteaga
..NET Compact Framework MVP
www.neotericsdc.com
"Rich" wrote:
> Step 1 push the reset button under my IPaq
> Step 2 run app.
> Step 3 close app.
>
> Problem:
> When I reopen the app. it goes back to the state it was in when I
> closed it. It goes back to the same screen with the data still in the
> fields. I have to do another reset (Step 1) to get the program back
> to the start.
>
> Question:
> How do I programacly close my app. so that it reopens in its default
> state, on the main form with clear data fields.
>
> Information:
> My app has about 7 pages, all loaded at the start. I fill in data
> fields and then send out the data through a serial to Bluetooth
> adapter. The problem persists wether I send the data of not.
>
> Thank you for you help,
> Rich
>