Visual Basic: MSComm Control

CommID Property

See Also   Example   Applies To

Returns a handle that identifies the communications device. This property is not available at design time and is read-only at run time.

Syntax

object.CommID

The CommID property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Remarks

This is the same value that's returned by the Windows API CreateFile function. Use this value when calling any communications routines in the Windows API.

Data Type

Long