Hey everyone, im currently use this class for my small projects:
https://www.daniweb.com/software-development/vbnet/threads/361868/disable-ctrl-alt-del
Now i have problem, i want to hide my form and close jammer so i use something like this:
Private Sub SystemTray()
If NotifyIcon1.Visible = True Then
KeyboardJammer.Jam()
NotifyIcon1.Visible = False
taskbar.HideStartButton()
taskbar.HideTaskBar()
Me.Show()
ElseIf NotifyIcon1.Visible = False Then
KeyboardJammer.UnJam()
NotifyIcon1.Visible = True
taskbar.ShowStartButton()
taskbar.ShowTaskBar()
Me.Hide()
End If
End Sub
Now problem is when i hide my form actually ALT F4 and other keys works.. As it should work. But when i restore my form it works again like 'KeyboardJammer.Jam()' doesnt start at all? o.O And it doesnt show any error...