Advertisement
6_2008-2009 Complete Applications #208047

If a users attempts to shutdown/restart their computer while your application is still running

If a users attempts to shutdown/restart their computer while your application is still running, this simple piece of code will actually allow you to abort the request to shutdown. Can be very useful. Please mail me at mailme@shouvik.tk if you are facing any problems or www.shouvik.tk

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Private Sub Command1_Click()
 AbortSystemShutdown (GetName)
End Sub
Original Comments (3)
Recovered from Wayback Machine