Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading card reader

Status
Not open for further replies.

peekay

Programmer
Oct 11, 1999
324
ZA
I have a ps2 card reader installed between my keyboard and computer and wish to read magnetic strip cards with numbers on them.I am picking up the keypress event (with form.keypreview set to true) but am unable to read the numbers on the cards. Can someone please help me with code to read these numbers and to distinguish between keys pressed at the keyboard and numbers read from these cards.
When I swipe the card it adds code to my keypress event like this - 0 Print.

PK Odendaal
pko@mweb.co.za

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top