> Telepathy. ;) Actually, you really can't know, since the user > can push the off button at any time, and the unit is suddenly off. > You can, however, catch the power keypress, and use that. Due to > the rather nice auto-off feature, you can have your application > open,and have the machine off to conserve power. Then, when you > want to get to your app, you can power it up again and you're right > back where you left off. Catching the keypress is really your only > option...the question is...why would you want to do this?
I catch the power button and auto off for my password keeper application. When I detect the power is turning off, I make sure the application exits so the next guy who picks it up (which may not be the owner) can't turn it on and start browsing your passwords. :) -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
