Specify the serial port number. This value begins from 0. For example, Com #1 is 0, Com #2 is 1. This property is a persistent property.
Syntax
Return Value
Example
|
.CommPort = 0 ' Com1
.CommPort = 1 ' Com2
|
|
m_secs.SetCommPort(0); // Com1
m_secs.SetCommPort(1); // Com2
|
Remarks
See Also
|