SComm64 Communications DLL.

   




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 SComm64 have the same syntax and functionality.
 

Syntax:-

SComm1.EOFEnable = True

value = SComm1.EOFEnable
 

value:- A Boolean Expression. Default is False.
 
Example:-

SComm1.EOFEnable = True

If SComm1.EOFEnable = True Then
   MessageBox.Show("EOFEnable is On ")
Else
   MessageBox.Show("EOFEnable is Off")
End If


Remarks:

If enabled this property will cause an OnComm event to be triggered when the EOF control character (Ascii 26) is read by the Input property.