Local error has occurred.
The OnError event occurs when a property is accessed in an illegal way or when a connection with the remote server cannot be established. The table below lists all possible error codes
delivered by this event.
| Value |
Meaning |
| ERR_CANNOT_GET_SOCKET |
Unable to allocate socket. |
| ERR_CANNOT_BIND_SOCKET |
Unable to bind socket to local address. |
| ERR_CANNOT_CHANGE_PORT |
Cannot change port while connected. An attempt was made to change the Port property while connected. Disconnect by calling the Disconnect method ( or setting the Action property to
ACTION_DISCONNECT) before trying to change the Port property.
|
| ERR_HOST_UNDEFINED |
Remote host must be defined before connecting. The Host property must be defined before calling the Connect method (or setting the Action property to ACTION_CONNECT. |
| ERR_CANNOT_CONNECT |
Unable to connect to remote host. The Port or the Host properties may be set incorrectly or the host may be down. |
| ERR_IN_ACTION |
Another action is in progress. |
| ERR_CANNOT_INITIALIZE |
Cannot initialize the emulation window. |
| ERR_INITIALIZE_TO_CONNECT |
You must initialize the emulation window, by calling the Initialize method, before connecting. |
| ERR_INITIALIZE_TO_WRITE |
Initialize emulation window before writing data to the emulation window. |
| ERR_CANNOT_DELETE_CONFIGURATION |
Unable to delete the specified configuration. The ConfigurationName property may be set to an invalid configuration name. Set the ConfigurationName property before calling the DeleteConfig method (or
setting the VtAction property to VT_DELETE_CONFIGURATION).
|
| ERR_CANNOT_SAVE_CONFIGURATION |
Unable to save the specified configuration. The ConfigurationName property may be set to an invalid configuration name. Set the ConfigurationName property before calling the SaveConfig method (or
setting the VtAction property to VT_SAVE_CONFIGURATION).
|
| ERR_CANNOT_CAPTURE_SCREEN |
Unable to capture data on screen to a file. The VT220 ActiveX control could not open or create the file to store the data on the screen. |
| ERR_CANNOT_CAPTURE_DATA |
Unable to capture incoming data to a file. The VT220 ActiveX control could not open or create the file to store the incoming data. |
| ERR_CANNOT_CONFIGURE_KEYBOARD |
Unable to configure keyboard. |
| ERR_CANNOT_CONFIGURE_TERMINAL |
Unable to configure terminal. |
| ERR_CANNOT_CONFIGURE_COLOR |
Unable to configure color. |
| ERR_CANNOT_SET_CUSTOM_FONT |
Unable to set custom terminal font. |
| ERR_CANNOT_SET_VTFONT |
Unable to set VT font. |
| ERR_CANNOT_SAVE_SETTINGS |
Unable to save configuration settings. |
| ERR_CANNOT_COPY_CLIPBOARD |
Unable to copy text to clipboard. |
| ERR_CANNOT_PASTE_CLIPBOARD |
Unable to paste text from clipboard. |
| ERR_CANNOT_CLEAR_CLIPBOARD |
Unable to clear clipboard text. |
| ERR_CANNOT_SELECT_PRINTER |
Unable to select a default printer. |
| ERR_CANNOT_SET_PRINTER_FONT |
Unable to set a default printer font. |
| ERR_CANNOT_SET_TRANSPARENT_MODE |
Unable to set printer transparent mode. |
| ERR_CANNOT_CAPTURE_SCREEN_FILE |
Unable to capture data on screen to CaptureFile. The VT220 ActiveX control could not open or create the file specified by the CaptureFile property to store the data on the screen |
| ERR_INVALID_INDEX |
There is an error in the co-ordinates specified by the GetText method. |
| ERR_CANNOT_CAPTURE_DATA_FILE |
Unable to capture incoming data to CaptureFile. The VT220 ActiveX control could not open or create the file specified by the CaptureFile property to store the incoming data. |