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

CommPort

Sets or Retrieves the port number (com port number) used by the control.

Available at Design time and Runtime. Read Only While the port is open.

MSComm32 and Comm32 have Similar but not identical behavior See Remarks below

  Syntax object.CommPort = value
     
        object Name of the communications control
  value A numerical expression indicating the Com port number
     
  Examples  
    object.CommPort = 2 '// Set the value (use Com2)
       
    Text1.Text = object.CommPort '// Retrieves the value
       

Remarks:

Differences in behavior between MSComm32 and Comm32

MSComm32
Maximum value is 16 (Com1 to Com16)

Comm32
Maximum value is limited only by the operating system (Com1 to Com256 (Windows9x up to Com128)

 

 
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