Q qadeer37 Well-known member Joined May 1, 2010 Messages 63 Location Hyderabad,pakistan Programming Experience 1-3 Aug 15, 2010 #1 thanks it's working but what to do about if user presses alt+ctrl+delete.. how can I suppress these buttons? Last edited by a moderator: Aug 17, 2010
thanks it's working but what to do about if user presses alt+ctrl+delete.. how can I suppress these buttons?
E eljefe New member Joined Aug 17, 2010 Messages 1 Programming Experience Beginner Aug 17, 2010 #2 In the KeyDown event of the Form maybe: VB.NET: If e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Control Or e.KeyCode = Keys.Delete Then e.SuppressKeyPress = True End If Upvote 0 Downvote
In the KeyDown event of the Form maybe: VB.NET: If e.KeyCode = Keys.Alt Or e.KeyCode = Keys.Control Or e.KeyCode = Keys.Delete Then e.SuppressKeyPress = True End If
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,800 Location Norway Programming Experience 10+ Aug 17, 2010 #3 Thread split, different topics. Upvote 0 Downvote
Q qadeer37 Well-known member Joined May 1, 2010 Messages 63 Location Hyderabad,pakistan Programming Experience 1-3 Aug 17, 2010 #4 Thanks eljefe but I think I have to disable task manager using administrative rights. Upvote 0 Downvote