[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

keyboard application

Posted on 2004-08-27
3
Medium Priority
?
148 Views
Last Modified: 2010-04-05
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
Comment
Question by:tinti13
3 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11910868
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
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 440 total points
ID: 11914482
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
 
LVL 3

Expert Comment

by:gandalf_the_white
ID: 11929657
why do you need something like that?
maybe we can find another way to solve your problem
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month19 days, 8 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question