the following code works most of the time, but sometimes it fails.
Anyone got an idea? It will pass the IF statement (port is open) but
fail to set the port closed.
If MSComm1.PortOpe n Then
MSComm1.PortOpe n = False
End If
It also fails in the other direction.
If Not MSComm1.PortOpe n Then
MSComm1.PortOpe n = True
End If
Anyone got an idea? It will pass the IF statement (port is open) but
fail to set the port closed.
If MSComm1.PortOpe n Then
MSComm1.PortOpe n = False
End If
It also fails in the other direction.
If Not MSComm1.PortOpe n Then
MSComm1.PortOpe n = True
End If
Comment