Comm Ports and USB ports

  • Thread starter Thread starter andyI
  • Start date Start date
A

andyI

Where do I find information on how to address and pass
data to and from the serial ports and USB ports in VB.

VB6 supports the serial ports easily but I see no
reference to using the USB ports.

VB.net literature does not provide any coverage on either
the serial ports or the USB ports.
 
Hello,

andyI said:
Where do I find information on how to address and pass
data to and from the serial ports and USB ports in VB.

VB6 supports the serial ports easily but I see no
reference to using the USB ports.

Thomas Scheidegger's (aka NETMaster) Serial Port FAQ:

http://makeashorterlink.com/?M2FE42E83
VB.net literature does not provide any coverage on either
the serial ports or the USB ports.

USB is a _bus_, not a _port_.

http://makeashorterlink.com/?D2EA62B14
 
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.
 
Thanks for all the great posts!

Steven Bras, MCSD
Microsoft Developer Support/Data Access Technologies

This posting is provided "AS IS" with no warranties, and confers no rights.

Microsoft Security Announcement: Have you installed the patch for Microsoft
Security Bulletin MS03-026?  If not Microsoft strongly advises you to
review the information at the following link regarding Microsoft Security
Bulletin MS03-026
http://www.microsoft.com/security/security_bulletins/ms03-026.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the SCAN program from the Windows Update site will help to
insure you are current with all security patches, not just MS03-026.
 
Back
Top