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

Handshaking

Sets or Retrieves the handshaking/flow control used by the com port..

MSComm32 and SComm32 have the same syntax and functionality.
 

Syntax:-

SComm1.Handshaking = value

value = SComm1.Handshaking
 

value:- A Numeric value in the range 0 - 3
 
VB.Net Example:-

If SComm1.Handshaking = 0 Then
   MsgBox ("Handshake disabled ")
Else
   MsgBox ("Handshake Enabled ")
End If
 

Constants:

0 = comNone
1 = comXOnXoff
2 = comRTS
3 = comRTSXOnXOff