Hi there, I'm creating a program and I need to block out the keyboard completely. Including every button and key combo. Is there a way to do this? I already scoured the internet... any help would be greatly appreciated!
bigtreeworld 0 Newbie Poster
Recommended Answers
Jump to PostThis should do the trick:
Public Class frmKeyboard Private Sub frmKeyboard_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress 'Stops user key presses e.Handled = True End Sub Private Sub frmKeyboard_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Give the form access to key …
Jump to PostOr access the registry with the
Microsoft.Win32.Registry
class
All 6 Replies
sknake 1,622 Senior Poster Featured Poster
bigtreeworld 0 Newbie Poster
GeekByChoiCe 152 Practically a Master Poster Featured Poster
bigtreeworld 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
bigtreeworld 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.