Click to See Complete Forum and Search --> : Save work before Power off
Neerad Mittal
Jan 17th, 2000, 09:46 PM
I am surprised to learn that an austrilan company has given a finance package which form the user's mouth can save your latest work just before the computer is switched off or the power goes down. Can any body help me suggesting the way to give this impression to the user since the application is developed either using VB or VC++.
------------------
Love , Neerad
Crazy D
Jan 17th, 2000, 10:36 PM
Actually I don't believe it.. since there's no msg like WM_POWERDOWN, or QueryPowerDown event, but I can imagine when you use a timer, set it to a minute or so (or shorter) and save in the timer event...
QWERTY
Jan 18th, 2000, 04:19 AM
It is physically impossible to save any work while the power is switched off. It takes so small amount of time to shut down the computer, that even with timer set to 1 millisecond (or even less if anyone know how to do it) won't do it. In my opinion it is impossible (at least from VB or C++, or any other computer program). I think that you would have to mess up more with physics than with programming.
The best thing is to save your work as often as possible.
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 01-18-2000).]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.