DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Les Guest

    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

  2. #2
    Richard Grier Guest

    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.

    Richard Grier
    Hard & Software
    12962 West Louisiana Avenue
    Lakewood, CO 80228
    303-986-2179 (voice)
    303-986-3143 (fax)
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center