SComm32 Communications OCX
Properties/Methods . Break . CDHolding . Commevent . CommName . CommPort . CTSHolding . DSRHolding . DTREnable . EOFChar . EOFEnable . EvtChar . EvtCharEnable . Handshaking . InBufferCount . InBufferSize . Input . InputLen . InputMode . NullDiscard . OutBufferCount . OutBufferSize . Output . OverlappedIO . ParityReplace . PortOpen . Read . RThreshold . RTSEnable . Settings . SThreshold OnComm Event Hardware/Cables etc Loopback Test Plug
EOFEnable
Sets or Retrieves the property indicating whether an OnComm event is generated when the EOF control code/character is detected in the receive buffer.
MSComm32 and SComm32 have the same syntax and functionality.
Syntax:-
SComm1.EOFEnable = True
value = SComm1.EOFEnable
If SComm1.EOFEnable = True Then MsgBox ("EOFEnable is True ") Else MsgBox ("EOFEnable is False ") End If
Remarks:
If enabled this property will cause an OnComm event to be triggered when the EOF control character is read by the Input property.
Note that MSComm32 can only detect the DOS EOF character (Ascii 26). Our SComm32 can detect any ascii character. Configured via the EOFChar property