cdholding image

comm32 home
comm32 forum
buy comm32

Introduction
Install SComm32
Why Not MsComm?

Properties
   .Break
   .CDHolding
   .CommEvent
   .CommName
   .CommPort
   .CTSHolding
   .DSRHolding
   .DTREnable
   .EOFChar
   .EOFEnable
   .Handshaking
   .InBufferCount
   .InBufferSize
   .Input
   .InputLen
   .InputMode
   .NullDiscard
   .OutBufferCount
   .OutBufferSize
   .OutPut
   .OverlappedIO
   .ParityReplace
   .PortOpen
   .RThreshold
   .RTSEnable
   .Settings
   .STHreshold

OnComm Event
Hardware/Cables etc

SThreshold

Sets or Retrieves the minimum number of bytes in the transmit buffer below which an OnComm event is raised.

Available at design time and runtime.

         Syntax object.SThreshold = value
 
  object Name of the communications control.
  value A numeric expression indicating the SThreshold number of bytes
 
  Example object.SThreshold = 0 '// No OnComm events will be raised.
       
    object.SThreshold = n '// During transmission an OnComm event will be raised
'// when less than n bytes remain in the transmit buffer.
       
    n = object.SThreshold '// Retrieves the current setting/value
       

Remarks:

If this value is set to a value larger than zero then the control will raise an OnComm (evSend) event when the number of bytes remaining in the transmit buffer falls below that number.

 
 

 
32bit development in VB6 using the Comm32 Communications OCX ?

Or are you looking for a proper .Net Component ?

Carry on using most of the common and well documented MSComm32 syntax but with a proper .net component allowing you to build x86, x64 and AnyCPU projects using Visual Studio 2005, 2008 and 2010.

www.Comm64.com
The x86, x64 and AnyCPU
Serial component

 

 

Copyright (c) 2010 Axis Controls Ltd