Advertisement
2_2002-2004 Complete Applications #114205

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

ملخص الذكاء الاصطناعي: 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.

كود المصدر
original-source
Private Sub Command1_Click()
  AbortSystemShutdown (GetName)
End Sub
التعليقات الأصلية (3)
مسترجع من Wayback Machine