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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question for experienced....

Status
Not open for further replies.

herbal

Programmer
Jul 10, 2003
36
US
Is it possible to set up an app to detect a serial communication event like for instance the swiping of a magnetic stripe reader? So that your app senses a scan and acts accordingly?

Thanks,
Herbal
 
Yeah... but..

Not really. We have an app that does exactly this, the way we have implemented them it is to have an ActiveX.dll open a form (not visible) with a timer contorl that checks com1 using the MSCOM Control for a value from the card reader.. it then (on finding one) validates the data and raises an event to the main app once a good valid read has been detected...

HTH

Rob
 
Hey sorry about the answer.. I thought I was in the normal VB forum.. (need to look better) the above answer might not be valid for .Net, but the approach might still work if there is no direct method..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top