Re: electronic id card reader visual basic

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

The methods will differ. This is completely controlled by the card reader.

If the connection is by serial port (or Virtual Serial port, via USB), then you would use System.IO.Ports.SerialPort, and the documentation from the card reader manufacturer to decode the actual data received. However, it is possible that the device uses a HID USB connection, and then you would have to wrap the USB APIs (for which Visual Studio does have a class). Decoding the data still would depend on information from the manufacturer. Some manufacturers might provide APIs via a library (either .NET or COM) that you would call.

Dick

--
Richard Grier (Microsoft MVP - Visual Basic) Hard & Software 12962 West Louisiana Avenue Lakewood, CO 80228 303-986-2179 (voice) Homepage: www.hardandsoftware.net Author of Visual Basic Programmer's Guide to Serial Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July 2004, Revised July 2006.

.



Relevant Pages

  • Re: USB Function Driver ERROR !
    ... The Activesync connection is using a virtual serial port over the physical ... USB connection. ...
    (microsoft.public.windowsce.embedded)
  • Communicating with a USB device
    ... I'm trying to communicate with some different GPS devices over ... both a serial port connection and/or via a USB connection. ...
    (comp.lang.basic.realbasic)
  • Re: [SLE] New SD Card Reading Problem
    ... One has a connection with an USB printer. ... The other one is connected to a USB hub with 4 ports. ... The card reader is connected to the hub. ...
    (SuSE)
  • Express Scribe and foot pedal woes :(
    ... life of me I cant get it work with the footpedal. ... It's a serial port ... that i have connected to a USB converter. ... connection and the USB connection. ...
    (sci.med.transcription)
  • Re: USB header Splitter
    ... case to give 2 usb sockets. ... I would like to get a card reader to fit into one of my spare bays on ... All the card readers i look at connect via usb header on ... connection which i can connect internally which will give an extra ...
    (uk.comp.homebuilt)