Your full service technology partner! 
-Collapse +Expand
VB Classic
Search VB Classic Group:

-Collapse +Expand VB Classic Store

Prestwood eMagazine

January Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyVisual Basic Classic BoardVB Classic Control Usage and Developing Topic   Print This     

Keystroke capture

Keystroke capture in VB Classic Control Usage and Developing topic (part of our Visual Basic Classic group).

Quick Search: Keystroke   capture   Keystroke capture  
-- USA
I need a function that either disables every keystroke, and keystroke combination, other than keystrokes that I specify, or captures the keystrokes and sends them to any desired function. Any help is appreciated. Thanks in advance
 Posted 18 years ago (Thread Starter)
Comment Quote
About NewbCoder -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #10325, 1 replies
Thread Started 2/10/2004 7:36:00 AM
View Counter=7548
Location=-- USA 
Joined=18 years ago   MB Posts=1  
Most Recent Post
Lodi, CA
the form keydown event is what you want. Set the form KeyPreview to true and this event will capture the key events first. From this event you can check the key that is down and make the decision about what function to call. You can then set the keycode to 0 to cancel the keypress.
Eric Neff
C#, ASP.Net, SQL Server, Oracle
 Posted 18 years ago
Comment Quote
About cheddar -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #10328 (Level 1.1)  Reply to 10325
Thread Started 2/10/2004 1:18:00 PM
View Counter=2
Location=Lodi, CA  
Joined=21 years ago   MB Posts=88  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1183A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #10325 Counter
Since 4/2/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site:

©1995-2022 Prestwood IT Solutions.   [Security & Privacy]