Dart Telnet Control
TermType Property
Description
Terminal emulation type to negotiate to when AutoOption is True.
Property type
Read-write property
Syntax
Visual Basic
Public Property TermType As String
Remarks

Many hosts send a terminal type request shortly after a Telnet connection is established. By setting this property at design time or before connecting, the control responds with this value when the AutoOption property is True. If the host refuses to negotiate the terminal type, this property returns "".

Setting this property after the initial option negotiation takes place may not affect the host in any way, depending on the host's operating system.

If the server does not support this option, this property returns "" after it has been refused. Likewise, to refuse this option, set this property to "".

Example
Private Sub Command1_Click()
On Error GoTo OnError ' use intrinsic error handling
	Telnet1.TermType = "vt320"
	Telnet1.Connect "myhost"
	' VT320 terminal type is requested
	Exit Sub
OnError: ' Any error jumps here
	Debug.Print "Error #" + CStr(Err.Number) + ": " + Err.Description
End Sub
See Also

Telnet Object  | Telnet Members


Documentation Version 1.9.3.0
© 2020 Dart Communications. All Rights Reserved.
Send comments on this topic