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

Settings

Sets or Retrieves the Baud Rate. Parity, Databits and StopBit parameters.

Available at Design time and Runtime.

         Syntax object.Settings = value
     
  object Name of the communications control.
  value A String expression containing the parameters in this order "Baud,Parity,Databits,StopBits"
     
  Example object.Settings = "9600,n,8,1" '// Set all the parameters
       
   

Text1.Text = object.Settings

'// Retrieves the current parameters.
       

Remarks:

Baud can be one of the following standard baud rates:
110, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200

Parity can be one of the following standard parity values:
N, E or O (None, Even or Odd) Other values: M or S (Mark or Space) can also be used but may not be supported by all hardware.

DataBits can be one of the following standard values:
7 or 8 (Other values such as 4, 5 or 6 can be used but may not be supported by all hardware)

StopBits can be one of the following standard values:
1 or 2 (The StopBits setting of 1.5 can also be used but may not be supported by all hardware)

 

 
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