Click here to Skip to main content
12,633,764 members (32,379 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
How To deactivate The window key and sticky key on my keyboard in VB programming?
Posted 30-Jan-13 4:28am
Updated 30-Jan-13 8:35am
v3
Comments
Sandeep Mewara 30-Jan-13 9:45am
   
Can you elaborate more? Lock Windows using keyboard? What about sticky key?
parkaleprashantp 30-Jan-13 13:37pm
   
i need to make inactive my sticky key by using some coding in vb or vb.net...
It means...whenever we press 5 times shift,sticky keys may not be activate.
So can i have some proper solutions...?
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

You need to call the SystemParametersInfo WinAPI.

See this documentation:
* SystemParametersInfo
* STICKYKEYS structure
* How to get started programming with the Windows API
* Disabling Shortcut Keys - Shows how to disable Sticky Keys and Windows Key
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
parkaleprashantp 30-Jan-13 13:39pm
   
It's not a proper solution...I need to deactivate my sticky keys(5 times Shift) using vb programming...
lewax00 30-Jan-13 18:52pm
   
That is not 2 links, that is the same link twice, and it doesn't appear to have anything to do with the question...
SChristmas 31-Jan-13 3:48am
   
oh i mistakenly paste same two links here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.161208.2 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100