Control of USB port
Is there someway to directly access the USB port or do you have to convert
the USB into COM ports and
use MSComm? I've done the latter and would like to know if the former is
Re: Control of USB port
There is USB hardware that provides serial ports (you can find vendors for
some of these on my homepage, such as B&B Electronics). This hardware will
be accessible just like any other comport, using MSComm.
However, general USB has no similarity to the serial port. Thus, you would
use the APIs for the actual hardware involved, perhaps a printer, monitor or
keyboard, just as examples.
If you are developing your own USB hardware, then there are things that you
can do to access it from VB. I suggest that you get a copy of Jan Axelson's
book, USB complete. It has VB example code, and contains more detailed
information than any other source that I know of. You can find it on the
Books link on my homepage. If you order there (20% discount from retail), I
receive a small fee.
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO 80228
Leave voice mail or fax that I can receive as email at 303-593-9315
Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
Edition ISBN 1-890422-25-8 (355 pages).
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order. For faster service contact the publisher at
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center