Distinct offers Network Monitor, the ONLY natural language Protocol Analyzer, ONC RPC for C++, .NET and Java, and IntelliTerm, the fastest Terminal Emulator for TN3270, TN5250 and VT420 on the market.

Distinct VIT: VT220: D_VT220.TXT

   Products   Downloads   Sales   Support   About us
  VIT



        
 

The following provides a complete listing of the D_VT220.TXT definition file. If your application uses more than one Distinct ActiveX control in the same form, then some definitions will conflict. For example, the FTP Client ActiveX control includes the definition

Global Const ACTION_DISCONNECT = 3

in the D_FTP.TXT file and the Telnet ActiveX control includes the definition

Global Const ACTION_DISCONNECT = 2

in the D_TNET.TXT file. To avoid this conflict, you must rename at least one of the constants (for example, FTP_ACTION_DISCONNECT or TNET_ACTION_DISCONNECT).

' VT220 ActiveX Control
' (C) Copyright 1995 - 1998 by Distinct Corporation
' All rights reserved

' actions
Global Const ACTION_NONE = 0
Global Const ACTION_INITIALIZE = 1
Global Const ACTION_CONNECT = 2
Global Const ACTION_DISCONNECT = 3
Global Const ACTION_ABORT = 4
Global Const ACTION_DESTROY = 5

' NumLock Options
Global Const NUMLOCK_NOTSET = 0
Global Const NUMLOCK_LOCKED = 1
Global Const NUMLOCK_NOTLOCKED = 2

' VT options
Global Const VT_NONE = 0
Global Const VT_LIST_CONFIGURATION = 1
Global Const VT_MODIFY_CONFIGURATION = 2
Global Const VT_DELETE_CONFIGURATION = 3
Global Const VT_SAVE_CONFIGURATION = 4
Global Const VT_CONFIGURE_KEYBOARD = 5
Global Const VT_CONFIGURE_TERMINAL = 6
Global Const VT_CONFIGURE_COLOR = 7
Global Const VT_SET_CUSTOM_FONT = 8
Global Const VT_SET_VTFONT = 9
Global Const VT_SAVE_SETTINGS = 10
Global Const VT_COPY_CLIPBOARD = 11
Global Const VT_PASTE_CLIPBOARD = 12
Global Const VT_CLEAR_CLIPBOARD = 13
Global Const VT_CAPTURE_SCREEN = 14
Global Const VT_CAPTURE_DATA = 15
Global Const VT_PRINTER_SELECT = 16
Global Const VT_PRINTER_FONT = 17
Global Const VT_TRANSPARENT = 18
Global Const VT_CAPTURE_SCREEN_FILE = 19
Global Const VT_CAPTURE_DATA_FILE = 20
Global Const VT_CURRENT_LOCATION = 21

' fonts
Global Const FONT_NONE = 0
Global Const FONT_DEC = 1
Global Const FONT_DEC_SMALL = 2
Global Const FONT_IBM = 3
Global Const FONT_ANSI = 4
Global Const FONT_TERMINAL = 5
Global Const FONT_CUSTOM = 6
Global Const FONT_DEC_MEDIUM = 7

' error codes
Global Const ERR_CANNOT_GET_SOCKET = 1
Global Const ERR_CANNOT_BIND_SOCKET = 2
Global Const ERR_CANNOT_CHANGE_PORT = 3
Global Const ERR_HOST_UNDEFINED = 4
Global Const ERR_CANNOT_CONNECT = 5
Global Const ERR_IN_ACTION = 6
Global Const ERR_CANNOT_INITIALIZE = 7
Global Const ERR_INITIALIZE_TO_CONNECT = 8
Global Const ERR_INITIALIZE_TO_WRITE = 9
Global Const ERR_CANNOT_DELETE_CONFIGURATION = 10
Global Const ERR_CANNOT_SAVE_CONFIGURATION = 11
Global Const ERR_CANNOT_CAPTURE_SCREEN = 12
Global Const ERR_CANNOT_CAPTURE_DATA = 13
Global Const ERR_CANNOT_CONFIGURE_KEYBOARD = 14
Global Const ERR_CANNOT_CONFIGURE_TERMINAL = 15
Global Const ERR_CANNOT_CONFIGURE_COLOR = 16
Global Const ERR_CANNOT_SET_CUSTOM_FONT = 17
Global Const ERR_CANNOT_SET_VTFONT = 18
Global Const ERR_CANNOT_SAVE_SETTINGS = 19
Global Const ERR_CANNOT_COPY_CLIPBOARD = 20
Global Const ERR_CANNOT_PASTE_CLIPBOARD = 21
Global Const ERR_CANNOT_CLEAR_CLIPBOARD = 22
Global Const ERR_CANNOT_SELECT_PRINTER = 23
Global Const ERR_CANNOT_SET_PRINTER_FONT = 24
Global Const ERR_CANNOT_SET_TRANSPARENT_MODE = 25
Global Const ERR_CANNOT_CAPTURE_SCREEN_FILE = 26
Global Const ERR_CANNOT_CAPTURE_DATA_FILE = 27
Global Const ERR_CANNOT_GET_ROW_COLUMN = 28
Global Const ERR_INVALID_INDEX = 29
Global Const ERR_NO_SELECTED_TEXT = 30



Browse FAQ

Related Products
Mail Objects

Recommended Add-On
Network Monitor,
Protocol Analyzer


Raves
"The night before I went on summer holiday we had to make some 'last minute' configuration changes to approx. 300 routers, a tedious job to do manually with telnet. We went along with MS Excel containing a list of IP-adresses to the routers, and the VIT telnet-component. One hour later the VBA-application (small is beautiful) was working, and after another hour all of our routers were updated with the new configuration. I just say a big "Thanks" to you all for a good sleep that night."
Eirik Brendholen, Ergo Integration AS

"We conducted a test session to compare the performance of similar products, and Distinct's product was better!" [more]
Dr. Shyam Sunder, Carnegie Mellon University

"Together with Distinct, we were able to offer our users an ideal soution to enabling them to connect to Yahoo! Pager, and to do so both quickly and reliably." [more]
Brian Park,
Producer of Yahoo! Pager, Yahoo! Inc.


  8/20/2008   Legal notices | PRIVACY Policy | Networking News |