PRB: Can't Receive Data When Using MSCOMM.OCX Control (141071)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q141071 SYMPTOMS
While performing serial communications by using the MSCOMM16.OCX or
MSCOMM32.OCX control, you can get it to connect and send data, but not
receive data.
CAUSE
You do not have the correct handshaking enabled.
RESOLUTION
To resolve this problem when using MSCOMM.OCX, set the RTSEnable property
to True or add the following line of code to your program when you
initialize the MSCOMM control:
MSComm1.RTSEnable = True
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | kbprb KB141071 |
---|
|