Use VB to control the USB connection

L

Thread Starter

Lawrence

Can anyone kindly tell me how to control the connection of a USB smartcard device by using VB? i.e. "connect" or "disconnect" it.

Thanks in advance.
 
R

Robert Scott

There is no single way of using USB in VB. Each device comes with its own device driver and its own means of interfacing with it through VB or any other application programming environment. Consult the documentation that comes with the smartcard reader device. Chances are, they have simulated a COM port. In that case you would access the device from VB the same as you would access any "normal" COM port in Windows.

Robert Scott
Real-Time Specialties
Embedded Systems Consulting
 
P
In a somewhat related note, I am trying to update a driver for a digital camera from VB6 to VB.NET. How can I make the USB device simulate a COM port?

Thank you very much,
Paul Anzel
 
Dear Robert,

I am uditha who is a sri lankan Engineer.
I wants to c++ / vbCode for Embedded system design.

(Serial/parallel/modbus/UART)

can you help me?

Thanks

Uditha
 
Top