Hi,
USB ports normally use whatever API is appropriate for the connected device.
There is no generic support for USB (it is a bus, just like PCI or ISA). If
you want to write code for a specialized device, I suggest that you get a
copy of Jan Axelson's book, USB Complete 2nd Edition (see the Books link on
my homepage).
Serial communications may use any one of several techniques. You can
download NETComm.ocx from my homepage (free ActiveX), or you can use any one
of several .NET classes for this. I have one in my book, with source code
(see below). I also have other examples for .NET. Sax Comm Objects
(
www.saxsoft.net) now has .NET support, if you need heavy duty "stuff" like
TAPI support and error-corrected file transfers.
Dick
--
Richard Grier (Microsoft Visual Basic MVP)
See
www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.