
MS Comm Control won't close port
I have encountered what appears to be a bug in the MSComm control
included in the VB 4.0a CD release.
When the port is open, I close it (by setting the PortOpen property to
False), then attempt to reopen it less than a second or so later (by
setting the PortOpen property to True), and I get a runtime error that
says the "Port is already open".
I verified that the PortOpen property is, indeed, returning a "False"
value before I set it to "True".
Has anyone encountered this behavior--and is there a workaround? I need
to frequently open and close the port so it can be shared with another
process.
I'm using Version 1.0.2805 of MSCOMM32.OCX.
Thanks in advance!
--Matt Thomas
Codesmith, Inc.