cdholding image

comm32 home
comm32 download
comm32 forum
buy comm32

Introduction
Install Comm32
Why Not MsComm?

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


Comm32 Properties
   .DeviceName
   .EOFChar
   .EvtChar
   .EvtCharEnable
   .OutPutEx
   .OutPutMode
   .ParallelEnable
   .TxTimeout

Comm32 Functions
   .getByte

   .GetPortStatus
   .InstalledDrivers
   .putByte
   .PortExists

OnComm Event
Hardware/Cables etc

OutbufferCount

Sets or Retrieves the number of bytes in the Output (Transmit) buffers.

Not available at design time.

MSComm32 and Comm32 have similar but not identical behavior (See remarks below)

         Syntax value = object.OutbufferCount
     
  object Name of the communications control.
  value A numerical expression indicating the number of bytes in the transmit buffer.
     
  Examples  
    Text1.Text = object.OutbufferCount '// Retrieves the number of bytes in
'// the transmit buffer.
       
    object.OutbufferCount = 0 '// Delete all data from the transmit
'// buffer
       

Remarks:

This property is primarily a "Read" property allowing you to retrieve the number of bytes in the transmit buffer. The only value that can be written to this property is 0 (zero) which can be used to delete all data from the buffer.

MSComm32
MSComm linits all buffers sizes to 32k so this property can not return a value larger than 32k

Comm32
Return value can be up to Long Integer

Important: If removing MSComm32 from an existing project and replacing it with Comm32 remember that MSComm32 limited this property to a 32k “Short” Integer value. If using larger buffers you will of course remember to use variables of a larger data type to receive/process return values etc.

 

 
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