NullDiscard
Indicates whether the com port will discard received Null characters
Available at design time and runtime.
MSComm32 and Comm32 have identical behavior
 |
| |
Syntax |
object.NullDiscard = value |
| |
|
|
| |
object |
Name of the communications control. |
| |
value |
A Boolean expression (Default is False) |
| |
|
|
| |
Examples |
|
| |
|
object.NullDiscard = True |
'// Set the value |
| |
|
|
|
| |
|
If object.NullDiscard = True then
MsgBox("NullDiscard is enabled")
Else
MsgBox("NullDiscard is disabled")
End If |
'// retrieve the current setting |
| |
|
|
|
|
 |
Remarks:
If enabled then Null characters received by the hardware are simply ignored ie not entered into the receive buffer. |