SComm32 Communications OCX.
Properties/Methods . Break . CDHolding . Commevent . CommName . CommPort . CTSHolding . DSRHolding . DTREnable . EOFChar . EOFEnable . EvtChar . EvtCharEnable . Handshaking . InBufferCount . InBufferSize . Input . InputLen . InputMode . NullDiscard . OutBufferCount . OutBufferSize . Output . OverlappedIO . ParityReplace . PortOpen . Read . RThreshold . RTSEnable . Settings . SThreshold OnComm Event Hardware/Cables etc Loopback Test Plug
CommPort
Sets or Retrieves the Com Port number.
MSComm32 and SComm32 have the same syntax and functionality
Syntax:-
SComm1.CommPort = value
value = SComm1.CommPort
Remarks
MSComm32. maximum value = 16
SComm32. maximum value = 255