Click here to Skip to main content
15,913,156 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can we create Image type from base64 string ? Pin
Mohammad Dayyan18-Jun-08 11:56
Mohammad Dayyan18-Jun-08 11:56 
QuestionOpenSSL key generation in PEM format Pin
Mike Bentzen18-Jun-08 10:44
Mike Bentzen18-Jun-08 10:44 
QuestionSerial Port Help Pin
Chase Davis18-Jun-08 9:30
Chase Davis18-Jun-08 9:30 
AnswerRe: Serial Port Help Pin
carbon_golem18-Jun-08 10:01
carbon_golem18-Jun-08 10:01 
AnswerRe: Serial Port Help Pin
Alan N18-Jun-08 10:09
Alan N18-Jun-08 10:09 
GeneralRe: Serial Port Help Pin
Chase Davis18-Jun-08 10:20
Chase Davis18-Jun-08 10:20 
GeneralRe: Serial Port Help Pin
Alan N18-Jun-08 13:10
Alan N18-Jun-08 13:10 
QuestionHow to check if keyboard input occurs within a certain time limit? Pin
Michael Zmuda18-Jun-08 9:13
Michael Zmuda18-Jun-08 9:13 
Hi all,

I'm needing to do some fancy parsing of keyboard input into a text box. Basically, the need here arises because I have three possible devices that will put input into this box, the regular keyboard, a mag stripe reader and a laser scanner.

The keyboard and laser scanner are fine, but some types of input into the mag stripe reader will contain a carriage return in the middle of input which obviously creates a problem.

I was considering using the raw input API to somehow handle the mag stripe input, but I think it would be simpler if I just used the following logic:

1)Catch first CR
2) Wait for some time interval, probably 100->200 ms
3) If we get another keypress, ignore the first one
4) Repeat until we get a condition where after the wait we have no keypress, then submit input

I'm a little unsure, though, how to 'ignore' the first CR, and how to properly wait and then check if we had another keypress event. I'd appreciate any help, either with the code or perhaps making this logic workflow simpler.

Thanks! Smile | :)
AnswerRe: How to check if keyboard input occurs within a certain time limit? Pin
User 665818-Jun-08 9:21
User 665818-Jun-08 9:21 
QuestionAxWebBrowser question Pin
kozu18-Jun-08 8:51
kozu18-Jun-08 8:51 
AnswerRe: AxWebBrowser question Pin
Judah Gabriel Himango18-Jun-08 11:31
sponsorJudah Gabriel Himango18-Jun-08 11:31 
GeneralRe: AxWebBrowser question Pin
kozu18-Jun-08 11:59
kozu18-Jun-08 11:59 
QuestionGCHandle.Alloc and delegate Pin
Andy Brummer18-Jun-08 7:13
sitebuilderAndy Brummer18-Jun-08 7:13 
AnswerRe: GCHandle.Alloc and delegate Pin
carbon_golem18-Jun-08 9:12
carbon_golem18-Jun-08 9:12 
GeneralRe: GCHandle.Alloc and delegate Pin
Andy Brummer18-Jun-08 11:00
sitebuilderAndy Brummer18-Jun-08 11:00 
QuestionClickOnce Pin
Member 391904918-Jun-08 7:07
Member 391904918-Jun-08 7:07 
AnswerRe: ClickOnce Pin
Gareth H18-Jun-08 8:15
Gareth H18-Jun-08 8:15 
Question.NET Remotable Types Pin
conor2018-Jun-08 5:39
conor2018-Jun-08 5:39 
QuestionType casting Pin
indian14318-Jun-08 5:04
indian14318-Jun-08 5:04 
AnswerRe: Type casting Pin
DaveyM6918-Jun-08 5:08
professionalDaveyM6918-Jun-08 5:08 
AnswerRe: Type casting Pin
led mike18-Jun-08 5:21
led mike18-Jun-08 5:21 
AnswerRe: Type casting Pin
Pete O'Hanlon18-Jun-08 8:37
mvePete O'Hanlon18-Jun-08 8:37 
QuestionCustom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
rcaciopp18-Jun-08 5:01
rcaciopp18-Jun-08 5:01 
AnswerRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
led mike18-Jun-08 5:26
led mike18-Jun-08 5:26 
GeneralRe: Custom Control implementation at Runtime via Code vs. Designtime via Toolbox Pin
rcaciopp18-Jun-08 6:24
rcaciopp18-Jun-08 6:24 

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.