Click here to Skip to main content
16,013,918 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Check Box Save Pin
Paul Hasler16-Feb-09 14:03
Paul Hasler16-Feb-09 14:03 
GeneralRe: Check Box Save Pin
cwscotty16-Feb-09 19:49
cwscotty16-Feb-09 19:49 
QuestionBest Way To Override Keyboard On Form Pin
Ryan Fleming16-Feb-09 9:08
Ryan Fleming16-Feb-09 9:08 
AnswerRe: Best Way To Override Keyboard On Form Pin
Dave Kreskowiak16-Feb-09 14:10
mveDave Kreskowiak16-Feb-09 14:10 
GeneralRe: Best Way To Override Keyboard On Form Pin
Ryan Fleming17-Feb-09 3:15
Ryan Fleming17-Feb-09 3:15 
GeneralRe: Best Way To Override Keyboard On Form Pin
Dave Kreskowiak17-Feb-09 3:39
mveDave Kreskowiak17-Feb-09 3:39 
GeneralRe: Best Way To Override Keyboard On Form Pin
Ryan Fleming17-Feb-09 5:07
Ryan Fleming17-Feb-09 5:07 
GeneralRe: Best Way To Override Keyboard On Form Pin
Dave Kreskowiak17-Feb-09 5:34
mveDave Kreskowiak17-Feb-09 5:34 
Ryan Fleming wrote:
id.ProcessMessage(message) '***This allows the USB Class To determin if the Message Is From A USB HID Device
'***If it is the m_KeyPressed event is raised
End If


OK, you need something that keeps track of the input from the individual devices and determines when it has a complete message and when to abandon an incomplete message. THis is where the prefix tags come into play. I'd probably create a class that takes a HID ID and listens for messages from only that HID.

You can call your id.ProcessMessage function, but what does it do?? There's no return information, so it has to raise some kind of message with an identifier and value denoting which device the keystroke value came from. Without that, you've got nothing.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Best Way To Override Keyboard On Form Pin
Ryan Fleming17-Feb-09 6:09
Ryan Fleming17-Feb-09 6:09 
GeneralRe: Best Way To Override Keyboard On Form Pin
Dave Kreskowiak17-Feb-09 6:54
mveDave Kreskowiak17-Feb-09 6:54 
Questionhow to get Pin
Farzad Ahmadzadeh16-Feb-09 9:04
Farzad Ahmadzadeh16-Feb-09 9:04 
AnswerRe: how to get Pin
todda200816-Feb-09 9:06
todda200816-Feb-09 9:06 
AnswerRe: how to get Pin
Christian Graus16-Feb-09 11:50
protectorChristian Graus16-Feb-09 11:50 
GeneralRe: how to get Pin
Jon_Boy17-Feb-09 4:18
Jon_Boy17-Feb-09 4:18 
AnswerRe: how to get Pin
Dave Kreskowiak16-Feb-09 14:06
mveDave Kreskowiak16-Feb-09 14:06 
AnswerRe: how to get Pin
EliottA16-Feb-09 15:25
EliottA16-Feb-09 15:25 
AnswerRe: how to get Pin
Eddy Vluggen16-Feb-09 21:35
professionalEddy Vluggen16-Feb-09 21:35 
AnswerRe: how to get Pin
Steven J Jowett17-Feb-09 1:19
Steven J Jowett17-Feb-09 1:19 
GeneralRe: how to get Pin
Eddy Vluggen17-Feb-09 3:04
professionalEddy Vluggen17-Feb-09 3:04 
AnswerRe: how to get Pin
Agus Budianto17-Feb-09 3:58
Agus Budianto17-Feb-09 3:58 
AnswerRe: how to get Pin
Jon_Boy17-Feb-09 4:20
Jon_Boy17-Feb-09 4:20 
AnswerRe: how to get Pin
Samir Ibrahim17-Feb-09 4:38
Samir Ibrahim17-Feb-09 4:38 
AnswerRe: how to get Pin
Mark Churchill17-Feb-09 14:17
Mark Churchill17-Feb-09 14:17 
Questionmodifying and displaying text from text file depending on content Pin
todda200816-Feb-09 9:01
todda200816-Feb-09 9:01 
AnswerRe: modifying and displaying text from text file depending on content Pin
DaveAuld16-Feb-09 23:50
professionalDaveAuld16-Feb-09 23:50 

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.