Output

This property writes a stream of data to the transmit buffer.

Syntax

object.Output [= value]

Parameters

object
Object expression that evaluates to a Comm control.
value
String of characters to write to the transmit buffer.

Remarks

The Output property is unavailable at design time and is write-only at run time.

The Output property can transmit text data or binary data. To send text data using Output, you must specify a Variant that contains a string. To send binary data, you must pass a Variant which contains a byte array to Output.

Typically, if you send an ASCII string to an application, you can send it as text data. If you have data that contains embedded control characters, null characters, and so on, then you should pass it as binary data.