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

PortOpen

Sets or Retrieves the state of the communications port (Open or Closed).

Only available at Runtime.

         Syntax object.PortOpen = value
     
  object Name of the communications control.
  value A boolean expression indicating the state of the port.
     
  Example object.PortOpen = True '// Set the value (Open the port)
       
   

If object.PortOpen = True then
      MsgBox("Port is Open")
  Else
     MsgBox("Port is Closed")
End if

'//Retrieve the current state of the port
       

Remarks:

If you attempt to open a port that does not exist or when it is already open a trapable runtime error will occur.
        

 

 
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