Declaration

Visual C#:

int ConnectionMode;

Visual C++:

long ConnectionMode;

Visual Basic:

Dim ConnectionMode As Integer

Delphi:

property ConnectionMode : Integer

Remarks

    1 :  Physical or Virtual Serial port

    2 :  Infrared

    3 :  Bluetooth

An infrared device usually works through a virtual serial port under Windows9x, so the property value has to be set to Serial Port mode. Under Windows 2000 or Windows XP, the property value has to be set to Infrared Port mode in order to connect the device with infrared communication.

See Also  Connect