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

InBufferCount

Retrieves the number of bytes in the receive buffer.

MSComm32 and SComm32 have the same syntax and functionality.
 

Syntax:-

value = SComm1.InBufferCount
 

value:- A numeric value indicating the number of bytes available in the receive buffer.
 
Example:-

n = SComm1.InbufferCount
 


Remarks:

You can not 'Write' any value to this property except 0 (zero) which deletes all data from the receive buffer. Setting any other value causes a trapable error.