I have a little VB6 program that I wrote a few years ago. I use it for drag and drop dialing through my external modem( or in some cases my speaker).
60 Second delay when closing serial port with MSCOMM32.OCX. I have been experiencing this issue intermittently with an internally used vb6 application using MSComm for a few years. But it is much less frequent than without the delay at all. Public sub OpenClosePortDelayBetween logresults 'Start' for i = 1 to 10000 MSComm2.PortOpen = true.
Recently, my modem died and I bought a new external one, but the new one goes through the USB and appears as com5. This won't work with the VB command commopen. Hyperterm has no problem with com5, and works with either com5 or a name string from the same drop down list.
The name used is 'SupraMax 56k USB'. The latter leads me to wonder if this type of modem should be opened more like a file, with a different command. Apparently this USB type modem can't have registers and interrupts in the usual sense of a serial port. I remember going through considerable pains initially trying to make the program work with the MSComm object, and finally got it going, but later took it out because people were saying that it had some kind of copyright restrictions by Microsoft (I think). I would appreciate any thoughts from anyone with knowledge about a reliable way of dealing with com5.