Screen Lock with IniFile
This code will allow you to disable alt + f4, ctrl + alt + del, alt + tab, alt + esc, windows key, ctrl + esc. Sample code: Public Class Form1 Public g_IniSettings As New IniFile #Region "Alt + F4" Protected Overrides ReadOnly Property CreateParams() As CreateParams Get Dim cp As CreateParams = MyBase.CreateParams Const CS_NOCLOSE As Integer = &H200 cp.ClassStyle = cp.ClassStyle Or CS_NOCLOSE
- Read more about Screen Lock with IniFile
- 3 comments
- Log in or register to post comments
- 90 views