MSComm with Serial Port on USB 
Author Message
 MSComm with Serial Port on USB

Has anyone had any experience using MSComm with a serial port on the

I have a Belkin Serial Port adapter which plugs into my USB port.
When I do MSComm1.portopen = true it hangs my whole system and I have
to reboot.

Fri, 13 Dec 2002 03:00:00 GMT  
 MSComm with Serial Port on USB

Do you have error handling in place?

On Error Resume Next
If MSComm1.PortOpen = False Then MSComm1.PortOpen = True
If Err.Number > 0 Then
    MsgBox "Error opening port: " & Err.Description
End If

If this doesn't work, I'd contact the manufacturer of the adapter.  MSComm
simply wraps the Windows communications API, so any lockup would have to be
caused by outside problems (the USB driver, probably).

Richard Grier (Microsoft Visual Basic MVP)
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO  80228
303-986-2179 (voice)
303-986-3143 (fax)
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
Use the Books link to order.  For faster service contact the publisher at

Sat, 14 Dec 2002 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Future of Serial Ports vs USB Ports

2. MSComm and USB Serial Adapter problem

3. MSComm and USB Serial Adapters

4. USB To Serial Converter ( UC232A ) and MSComm in VB6

5. USB Serial Port & Visual Basic

6. MSCOMM and USB port

7. MSComm and USB ports

8. MSComm to USB port?

9. MSCOMM & USB Virtual Ports

10. mscomm - send/receive from serial port

11. ?MSCOMM - Read Signals From Serial Ports

12. Mscomm, serial port question


Powered by phpBB® Forum Software