Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • Last Modified:

keyboard application

i want to make a program who stay resident in memory of the computer and allow me to activate not all keyboard, only a few tastes
exemple:
i open a word document
in word i type "John goes to the library"
but my program not allow me to use "a" and "o" character
so the text on word will be "Jhn ges t the librry"
Thanks
0
tinti13
Asked:
tinti13
1 Solution
 
Wim ten BrinkSelf-employed developerCommented:
Make a system service and install a systemwide keyboard hook. Means you have to create two projects. A system service that keeps running and a DLL that is used for the hook...

However, you will really annoy quite a lot of people with such an application and it is considered a very bad practice in general. Besides, you cannot prevent all keys from being pressed. (Some special keys will always be detected.) Furthermore, a simple copy&paste could make it possible for users to still use certain characters, even if you block the keys.
0
 
BlackTigerXCommented:
see this article to see how a system wide keyboard hook is done... that's what you need:

http://www.q3.nu/trucomania/truco.cgi?408&ing
0
 
gandalf_the_whiteCommented:
why do you need something like that?
maybe we can find another way to solve your problem
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now