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

Shrnutí AI: 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.

Zdrojový kód
original-source
Private Sub Command1_Click()
 AbortSystemShutdown (GetName)
End Sub
Původní komentáře (3)
Obnoveno z Wayback Machine