rkcts
Jan 3rd, 2001, 05:22 PM
Has anybody used COM ports, MSComm1, and detecting serial ports Read UP!!!
Is this the right forum to be talking about COM ports or is COM and AciveX mean something else?
Does anybody know how to find out what COM ports are available on a computer using VB6. I found out that the WIN.INI file on my computer lists COM ports 1 throu 4 but that doesn't mean that they are available does it. For example when I look under Control Panel/System/DeviceManager/Ports all that is listed is COM1 and LPT1.
I have also tried openeing them with MSComm1 and catching the error if it is already oppened. My end result was 1, and 2 are not used and 3 and 4 are being used. The unusual thing is when I send 2 bytes to port 2 I get two bytes back in my input buffer.I only have COM1 in device manager though. COM1 works fine.
Is this the right forum to be talking about COM ports or is COM and AciveX mean something else?
Does anybody know how to find out what COM ports are available on a computer using VB6. I found out that the WIN.INI file on my computer lists COM ports 1 throu 4 but that doesn't mean that they are available does it. For example when I look under Control Panel/System/DeviceManager/Ports all that is listed is COM1 and LPT1.
I have also tried openeing them with MSComm1 and catching the error if it is already oppened. My end result was 1, and 2 are not used and 3 and 4 are being used. The unusual thing is when I send 2 bytes to port 2 I get two bytes back in my input buffer.I only have COM1 in device manager though. COM1 works fine.