cdholding image

comm64 home
comm64 download
comm64 forum
buy comm64

Introduction
Install Comm64
Why Not MsComm?

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


Comm64 Properties
   .RxTimeout
   .TxTimeout

Comm64 Functions
   .readBytes
   .readString

   .writeBytes
   .writeString
   .PortExists

OnComm Event

Hardware/Cables etc
Loopback test plug

PortOpen

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

Only available at Runtime.

MSComm32 and Comm64 have the same behavior.

         Syntax object.PortOpen = value
     
  object Name of the communications control.
  value A boolean expression indicating the state of the port.
     
  Example object.PortOpen = True  
       
   

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

 
       

Remarks:

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

 
Copyright (c) 2010 Axis Controls Ltd