Stop windows shutdown

M

Maurice Mertens

To all,

does anyone know how to stop windows shutting down the computer? I.e. when
a user didn't save all his changes and windows tries to shutdown, the user
gets a messagebox to save the changes.

After this windows will shutdown.


--
Met vriendelijke groet / With regards / Saludos,
Moviat Automatisering


Maurice Mertens
mauricem@moviat_KillSpamWordForEMail.nl

tel: +31 162 470 534
fax: +31 162 470 502
 
G

Guest

If you are writing a user-level app, search MSDN (.NET Filter) for
"PowerModeChangedEventHandler".

If you are writing a service, search MSDN (.NET Filter) for "ServiceProcess"
and/or "ServiceBase".

hth,
ej
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top