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
. Output
. ParityReplace
. PortOpen
. Read
. RThreshold
. RTSEnable
. Settings
. SThreshold

OnComm Event
Hardware/Cables etc
Loopback Test Plug

DTREnable

Sets or Retrieves the state of the DTR line.

MSComm32 and SComm32 have the same syntax and functionality
 

Syntax:-

SComm1.DTREnable = value

value = SComm1.DTREnable
 

value:- A Boolean Expression indicating the current state of the DTREnable property.
 
Example:-

SComm1.DTREnable = True

Remarks:

While the port is open this property can be used to set the state of the DTR line on or off. If set before the port is opened then this value takes effect as soon as the port is opened and go off again as soon as the port is closed.