Virtual Serial Port ActiveX Control - Baudrate Property

The Baudrate property gets/sets the current baudrate value. If you haven't created a virtual serial port before calling this property, it will return "-1" value.  

LONG Baudrate;

Note, that these port settings are actual untill they are not changed by VSP AX or application, which opened virtual serial port. If these settings are changed, you get a corresponding message (in that case OnBaudrate event). Be carefull, when you are changing this parameter from VSP AX in event body, as you might get into an endless loop.


See also:

Parity property, Stopbits property, Databits property, ControlHandShake property