Visual Basic: MSComm Control

Visual Studio 6.0

Input Property

See Also   Example   Applies To

Returns and removes a stream of data from the receive buffer. This property is not available at design time and is read-only at run time.



The Input property syntax has these parts:

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


The InputLen property determines the number of characters that are read by the Input property. Setting InputLen to 0 causes the Input property to read the entire contents of the receive buffer.

The InputMode property determines the type of data that is retrieved with the Input property. If InputMode is set to comInputModeText then the Input property returns text data in a Variant. If InputMode is comInputModeBinary then the Input property returns binary data in an array of bytes in a Variant.

Data Type