A code execute before abnormal shutdown of computer

I have a Visual Basic Programme. I want to execute some code before sudden abnormal shutdown of computer means suppose suddenly press the CPU's shutdown button before closing of programme or a PC without UPS and electricity off suddenly. Please Help me if any code is there.


Harish

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion