Click here to Skip to main content
15,880,364 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
QuestionAccessing keyboard wedged scanner while keyboard disabled. Pin
Ravi Pandey21-Jul-10 2:04
Ravi Pandey21-Jul-10 2:04 
AnswerRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Luc Pattyn21-Jul-10 2:25
sitebuilderLuc Pattyn21-Jul-10 2:25 
QuestionRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Ravi Pandey21-Jul-10 2:54
Ravi Pandey21-Jul-10 2:54 
AnswerRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Luc Pattyn21-Jul-10 2:58
sitebuilderLuc Pattyn21-Jul-10 2:58 
GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Ravi Pandey21-Jul-10 3:33
Ravi Pandey21-Jul-10 3:33 
AnswerRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Roger Wright21-Jul-10 11:36
professionalRoger Wright21-Jul-10 11:36 
GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Ravi Pandey21-Jul-10 19:06
Ravi Pandey21-Jul-10 19:06 
GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Roger Wright21-Jul-10 20:13
professionalRoger Wright21-Jul-10 20:13 
Yes, it is possible, but I'm not a good enough programmer to tell you how to do it. Maybe someday...

Since you can't change the existing program, you need to create a keyboard hook that intercepts inputs from the keyboard port before your existing program gets them, process the data, then pass it on to the usual handler. I believe there are articles on CodeProject that describe how to do that, but I'm not smart enough yet to help. The method I suggested may not be the best way to do it, but my point was that Windows does not have a way to tell where the input is coming from; you need to provide some distinguishing feature that you can grab and process. Whatever you can do to make the scanner input look different from a regular keyboard input will do the job. All you need to do is catch it and process it.

Search the articles here, and I think you'll find an answer. I look forward to reading the article you write about the solution one day soon. And, by the way, I'm Roger to my friends, not Mr. Wright, and I consider all my associates at CodeProject friends. Welcome to the neighborhood, Ravi. Big Grin | :-D
"A Journey of a Thousand Rest Stops Begins with a Single Movement"

GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Ravi Pandey21-Jul-10 22:10
Ravi Pandey21-Jul-10 22:10 
GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Roger Wright22-Jul-10 2:44
professionalRoger Wright22-Jul-10 2:44 
GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Dan Neely22-Jul-10 2:23
Dan Neely22-Jul-10 2:23 
GeneralRe: Accessing keyboard wedged scanner while keyboard disabled. Pin
Roger Wright22-Jul-10 2:47
professionalRoger Wright22-Jul-10 2:47 
QuestionGet the assigned port for Tapi devices Pin
ralph195716-Jul-10 0:18
ralph195716-Jul-10 0:18 
QuestionHardware based video encoding... Pin
faheemnadeem13-Jul-10 20:42
faheemnadeem13-Jul-10 20:42 
Questionwhere to get wireless hotspot Pin
Jassim Rahma13-Jul-10 5:15
Jassim Rahma13-Jul-10 5:15 
AnswerRe: where to get wireless hotspot Pin
Jassim Rahma13-Jul-10 5:17
Jassim Rahma13-Jul-10 5:17 
AnswerRe: where to get wireless hotspot Pin
fat_boy16-Jul-10 4:32
fat_boy16-Jul-10 4:32 
QuestionATM Operating System Pin
Jassim Rahma10-Jul-10 5:35
Jassim Rahma10-Jul-10 5:35 
AnswerRe: ATM Operating System Pin
Dave Kreskowiak10-Jul-10 6:48
mveDave Kreskowiak10-Jul-10 6:48 
QuestionKiosk Operating System Pin
Jassim Rahma10-Jul-10 5:34
Jassim Rahma10-Jul-10 5:34 
AnswerRe: Kiosk Operating System Pin
Dave Kreskowiak10-Jul-10 6:48
mveDave Kreskowiak10-Jul-10 6:48 
QuestionATM programming language Pin
Jassim Rahma10-Jul-10 5:33
Jassim Rahma10-Jul-10 5:33 
AnswerRe: ATM programming language Pin
Dave Kreskowiak10-Jul-10 6:47
mveDave Kreskowiak10-Jul-10 6:47 
QuestionKiosk programming language Pin
Jassim Rahma10-Jul-10 5:33
Jassim Rahma10-Jul-10 5:33 
AnswerRe: Kiosk programming language Pin
Dave Kreskowiak10-Jul-10 6:46
mveDave Kreskowiak10-Jul-10 6:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.