Solved

keyboard application

Posted on 2004-08-27
3
139 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
Comment Utility
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 110 total points
Comment Utility
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
Comment Utility
why do you need something like that?
maybe we can find another way to solve your problem
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now