NetDial Control
Properties Methods Events Config Settings Errors
The NetDial control can be used to call the Remote Access System (RAS) to initiate or break connections to remote hosts, list connections, and phonebook entries.
Syntax
NetDial
Remarks
The user can either directly provide a PhoneNumber, User, and Password, and optionally a Domain and CallbackNumber, or can get those entries from PhonebookEntry of Phonebook. The calls are blocking but progress information is given through the Status event, and Windows messages will come during connect or disconnect methods.
The user can get information on the phonebook entries and connections by calling the respective methods of the control. ConnectedEntry and PhonebookEntry events will fire with the required information.
Support is also provided for creating or deleting phonebook entries as well as for listing the various RAS devices supported by the system.
Property List
The following is the full list of the properties of the control with short descriptions. Click on the links for further details.
CallbackNumber | This property includes the callback number to give when directly dialing the remote machine. |
Domain | This property includes the name of the domain to join when dialing the Remote Access System (RAS) connection. |
EntryDeviceName | This property includes the device of the phonebook entry pointed to by PhonebookEntry . |
EntryDeviceType | This property includes the device type of the phonebook entry pointed to by PhonebookEntry . |
EntryDNSServer | This property includes the DNS server of the phonebook entry pointed to by PhonebookEntry . |
EntryIPAddress | This property includes the IP address of the phonebook entry pointed to by PhonebookEntry . |
EntryPhoneNumber | This property includes the phone number for the phonebook entry pointed to by PhonebookEntry . |
EntryWINSServer | This property includes the WINS server of the phonebook entry pointed to by PhonebookEntry . |
Handle | This property includes the handle of the connection. It is 0 if it is invalid or not connected. |
Idle | The current status of the control. |
Password | This property includes the password to use when direct dialing the remote machine. |
Phonebook | This property reads the PhonebookEntry when dialing the remote machine. |
PhonebookEntry | This property includes the name of PhonebookEntry to use when dialing the remote machine. |
PhoneNumber | This property includes the number to dial when directly dialing the remote machine without the help of a PhonebookEntry . |
RASAvailable | When set to True, the Remote Access System (RAS) is available. |
Timeout | This property includes a timeout for the control. |
User | This property includes the name of the login user when directly dialing the remote machine. |
Method List
The following is the full list of the methods of the control with short descriptions. Click on the links for further details.
Config | Sets or retrieves a configuration setting. |
Connect | This method attempts to dial the PhonebookEntry from Phonebook . |
CreateEntry | This method creates a PhonebookEntry . |
DeleteEntry | This method deletes a PhonebookEntry . |
Disconnect | This method disconnects the last successfully made connection. |
DoEvents | Processes events from the internal message queue. |
Interrupt | Interrupt the current method. |
ListConnections | This method lists all of the current connections. |
ListDevices | This method lists all of the dial devices. |
ListPhonebook | This method lists all of the entries in Phonebook . |
Reset | Reset the control. |
ShowDialDialog | This method shows the standard Remote Access System (RAS) dialog for dialing the PhonebookEntry from Phonebook . |
Event List
The following is the full list of the events fired by the control with short descriptions. Click on the links for further details.
ConnectedEntry | This event is fired for every connected device when the ListConnections method is called. |
Device | This event is fired for every dial device when the ListDevices method is called. |
Error | Fired when information is available about errors during data delivery. |
PhonebookEntry | This event is fired for every Phonebook entry when the ListPhonebook method is called. |
Status | This event is fired during connection or disconnection attempts. |
Config Settings
The following is a list of config settings for the control with short descriptions. Click on the links for further details.
IgnoreModemSpeaker | Whether the control will ignore the default modem speaker settings. |
IgnoreSoftwareCompression | Whether the control will ignore the default software compression settings. |
OverrideEntrySetting | Whether or not to use the control settings when dialing a phone book entry. |
PausedStates | Whether the control will accept paused states. |
PauseOnScript | Tells the control to display a logon terminal. |
SetModemSpeaker | Whether the control will use the modem speaker. |
SetSoftwareCompression | Whether the control will use software compression. |
UseCustomScripting | Tells the control to use custom script DLLs. |
UsePrefixSuffix | Whether or not to use the dialing prefix and suffix in the phone book. |
UseRemoteDefaultGateway | Whether or not the entry should use the default gateway on the remote network. |
VPNType | Sets the VPN Type when creating entries with NetDial. |
CodePage | The system code page used for Unicode to Multibyte translations. |
MaskSensitive | Whether sensitive data is masked in log messages. |
UseInternalSecurityAPI | Whether or not to use the system security libraries or an internal implementation. |
CallbackNumber Property (NetDial Control)
This property includes the callback number to give when directly dialing the remote machine.
Syntax
netdialcontrol.CallbackNumber[=string]
Default Value
""
Remarks
This property contains the callback number to give when directly dialing the remote machine. User, PhoneNumber, and Password, and optionally Domain and CallbackNumber, are used when PhonebookEntry is empty.
Calling the Connect method attempts a connection.
Data Type
String
Domain Property (NetDial Control)
This property includes the name of the domain to join when dialing the Remote Access System (RAS) connection.
Syntax
netdialcontrol.Domain[=string]
Default Value
""
Remarks
This property contains the name of the domain to join when dialing the RAS connection. User, PhoneNumber, and Password, and optionally Domain and CallbackNumber, are used when PhonebookEntry is empty.
Calling the Connect method attempts a connection.
Data Type
String
EntryDeviceName Property (NetDial Control)
This property includes the device of the phonebook entry pointed to by PhonebookEntry .
Syntax
netdialcontrol.EntryDeviceName[=string]
Default Value
""
Remarks
This property contains the device of the phonebook entry pointed to by PhonebookEntry. This property is filled in automatically every time PhonebookEntry is set to an existing entry.
Data Type
String
EntryDeviceType Property (NetDial Control)
This property includes the device type of the phonebook entry pointed to by PhonebookEntry .
Syntax
netdialcontrol.EntryDeviceType[=string]
Default Value
""
Remarks
This property contains the device type of the phonebook entry pointed to by PhonebookEntry. This property is filled in automatically every time PhonebookEntry is set to an existing entry.
Data Type
String
EntryDNSServer Property (NetDial Control)
This property includes the DNS server of the phonebook entry pointed to by PhonebookEntry .
Syntax
netdialcontrol.EntryDNSServer[=string]
Default Value
""
Remarks
This property contains the DNS server of the phonebook entry pointed to by PhonebookEntry. This property is filled in automatically every time PhonebookEntry is set to an existing entry.
Data Type
String
EntryIPAddress Property (NetDial Control)
This property includes the IP address of the phonebook entry pointed to by PhonebookEntry .
Syntax
netdialcontrol.EntryIPAddress[=string]
Default Value
""
Remarks
This property contains the IP address of the phonebook entry pointed to by PhonebookEntry. This property is filled in automatically every time PhonebookEntry is set to an existing entry.
Data Type
String
EntryPhoneNumber Property (NetDial Control)
This property includes the phone number for the phonebook entry pointed to by PhonebookEntry .
Syntax
netdialcontrol.EntryPhoneNumber[=string]
Default Value
""
Remarks
This property contains the phone number for the phonebook entry pointed to by PhonebookEntry. This property is filled in automatically every time PhonebookEntry is set to an existing entry.
Data Type
String
EntryWINSServer Property (NetDial Control)
This property includes the WINS server of the phonebook entry pointed to by PhonebookEntry .
Syntax
netdialcontrol.EntryWINSServer[=string]
Default Value
""
Remarks
This property contains the WINS server of the phonebook entry pointed to by PhonebookEntry. This property is filled in automatically every time PhonebookEntry is set to an existing entry.
Data Type
String
Handle Property (NetDial Control)
This property includes the handle of the connection. It is 0 if it is invalid or not connected.
Syntax
netdialcontrol.Handle[=integer]
Default Value
0
Remarks
This property is used when trying to disconnect a connection through the Disconnect method. The ConnectedEntry event provides the handle of each connection. Assigning an invalid value to this property and attempting to disconnect may cause the application to behave in an unpredictable manner.
This property is not available at design time.
Data Type
Integer
Idle Property (NetDial Control)
The current status of the control.
Syntax
netdialcontrol.Idle
Default Value
True
Remarks
Idle will be False if the component is currently busy (communicating and/or waiting for an answer), and True at all other times.
This property is read-only.
Data Type
Boolean
Password Property (NetDial Control)
This property includes the password to use when direct dialing the remote machine.
Syntax
netdialcontrol.Password[=string]
Default Value
""
Remarks
This property contains the password to use when direct dialing the remote machine. User, PhoneNumber, and Password, and optionally Domain and CallbackNumber, are used when PhonebookEntry is empty.
Calling the Connect method attempts a connection.
Data Type
String
Phonebook Property (NetDial Control)
This property reads the PhonebookEntry when dialing the remote machine.
Syntax
netdialcontrol.Phonebook[=string]
Default Value
""
Remarks
This property reads the PhonebookEntry when dialing the remote machine. This property is valuable only in Windows NT 4.0 and higher in cases in which multiple phonebooks can be specified. The PhonebookEntry is relative to Phonebook. If it is empty, the default phonebook is used.
Data Type
String
PhonebookEntry Property (NetDial Control)
This property includes the name of PhonebookEntry to use when dialing the remote machine.
Syntax
netdialcontrol.PhonebookEntry[=string]
Default Value
""
Remarks
This property is read from the default phonebook (in Windows 95) or from the Phonebook property.
Note: This property must not be empty when dialing on Pocket PC (Windows CE).
When the control is initialized, it will attempt to populate this property with the system's default entry.
Data Type
String
PhoneNumber Property (NetDial Control)
This property includes the number to dial when directly dialing the remote machine without the help of a PhonebookEntry .
Syntax
netdialcontrol.PhoneNumber[=string]
Default Value
""
Remarks
This property contains the number to dial when directly dialing the remote machine without the help of a PhonebookEntry. User, PhoneNumber, and Password, and optionally Domain and CallbackNumber, are used when PhonebookEntry is empty.
Calling the Connect method attempts a connection.
Data Type
String
RASAvailable Property (NetDial Control)
When set to True, the Remote Access System (RAS) is available.
Syntax
netdialcontrol.RASAvailable
Default Value
True
Remarks
If this property is False, the control fails with an error when attempting to connect. RAS must be installed before the control can be used.
This property is read-only.
Data Type
Boolean
Timeout Property (NetDial Control)
This property includes a timeout for the control.
Syntax
netdialcontrol.Timeout[=integer]
Default Value
60
Remarks
If this property is set to 0, all operations will run uninterrupted until successful completion or an error condition is encountered.
If this property is set to a positive value, the control will wait for the operation to complete before returning control.
The default value for this property is 60 (seconds).
Data Type
Integer
User Property (NetDial Control)
This property includes the name of the login user when directly dialing the remote machine.
Syntax
netdialcontrol.User[=string]
Default Value
""
Remarks
This property contains the name of the login user when directly dialing the remote machine. User, PhoneNumber, and Password, and optionally Domain and CallbackNumber, are used when PhonebookEntry is empty.
Calling the Connect method attempts a connection.
Data Type
String
Config Method (NetDial Control)
Sets or retrieves a configuration setting.
Syntax
netdialcontrol.Config ConfigurationString
Remarks
Config is a generic method available in every control. It is used to set and retrieve configuration settings for the control.
These settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the control, access to these internal properties is provided through the Config method.
To set a configuration setting named PROPERTY, you must call Config("PROPERTY=VALUE"), where VALUE is the value of the setting expressed as a string. For boolean values, use the strings "True", "False", "0", "1", "Yes", or "No" (case does not matter).
To read (query) the value of a configuration setting, you must call Config("PROPERTY"). The value will be returned as a string.
Connect Method (NetDial Control)
This method attempts to dial the PhonebookEntry from Phonebook .
Syntax
netdialcontrol.Connect
Remarks
This method attempts to dial the PhonebookEntry from Phonebook. If it is empty, then the PhoneNumber, CallbackNumber, and Domain (if applicable) are used to connect. The control does not return until the operation is completed, but during this time, Status events are fired showing the ongoing progress.
Example 1. Dialing a Phonebook:
NetDialControl.Phonebook = "MyPhonebook"
NetDialControl.Connect()
Example 2. Direct Dialing a Phone Number:
NetDialControl.PhoneNumber = "MyPhonebook"
NetDialControl.User = "username"
NetDialControl.Password = "mypassword"
NetDialControl.Connect()
Note: Direct dialing is not supported on Pocket PC (Windows CE).
CreateEntry Method (NetDial Control)
This method creates a PhonebookEntry .
Syntax
netdialcontrol.CreateEntry
Remarks
This method creates a new phonebook entry PhonebookEntry with the values in EntryPhoneNumber, EntryDNSServer, EntryWINSServer, EntryIPAddress, and EntryDeviceName. If the entry already exists or the entry cannot be created, the control fails with an error.
Example. Creating a New Phonebook Entry:
NetDialControl.PhonebookEntry = "NewEntry"
NetDialControl.EntryPhoneNumber = "5555555"
NetDialControl.CreateEntry()
DeleteEntry Method (NetDial Control)
This method deletes a PhonebookEntry .
Syntax
netdialcontrol.DeleteEntry
Remarks
This method deletes the phonebook entry specified by PhonebookEntry and Phonebook.
Disconnect Method (NetDial Control)
This method disconnects the last successfully made connection.
Syntax
netdialcontrol.Disconnect
Remarks
This method disconnects the last successfully made connection or the current one if the call is made within a ConnectedEntry event.
DoEvents Method (NetDial Control)
Processes events from the internal message queue.
Syntax
netdialcontrol.DoEvents
Remarks
When DoEvents is called, the control processes any available events. If no events are available, it waits for a preset period of time, and then returns.
Interrupt Method (NetDial Control)
Interrupt the current method.
Syntax
netdialcontrol.Interrupt
Remarks
If there is no method in progress, Interrupt simply returns, doing nothing.
ListConnections Method (NetDial Control)
This method lists all of the current connections.
Syntax
netdialcontrol.ListConnections
Remarks
This method lists all of the connections in all devices and gives the results in ConnectedEntry events.
ListDevices Method (NetDial Control)
This method lists all of the dial devices.
Syntax
netdialcontrol.ListDevices
Remarks
This method lists all of the dial devices. The results are provided through the Device event.
ListPhonebook Method (NetDial Control)
This method lists all of the entries in Phonebook .
Syntax
netdialcontrol.ListPhonebook
Remarks
This method lists all of the entries in Phonebook (Windows 95 has only one default Phonebook). Entries are given in PhonebookEntry events.
Reset Method (NetDial Control)
Reset the control.
Syntax
netdialcontrol.Reset
Remarks
This method will reset the control's properties to their default values.
ShowDialDialog Method (NetDial Control)
This method shows the standard Remote Access System (RAS) dialog for dialing the PhonebookEntry from Phonebook .
Syntax
netdialcontrol.ShowDialDialog
Remarks
This method shows the standard RAS dialog for dialing the PhonebookEntry from Phonebook. The control will display the standard RAS dialog box for PhonebookEntry and allow the dial to take place with user interaction. If you prefer the dial to occur without user interaction, use the Connect method.
ConnectedEntry Event (NetDial Control)
This event is fired for every connected device when the ListConnections method is called.
Syntax
Sub netdialcontrol_ConnectedEntry(Handle As Integer, Entry As String, DeviceName As String, DeviceType As String, StatusDescription As String)
Remarks
The Handle parameter can be used to disconnect the entry. You should assign Handle to the Handle property and then call the Disconnect method.
Device Event (NetDial Control)
This event is fired for every dial device when the ListDevices method is called.
Syntax
Sub netdialcontrol_Device(DeviceName As String, DeviceType As String)
Remarks
DeviceName provides the name of the device, and DeviceType provides the corresponding device type (e.g., 'modem').
Error Event (NetDial Control)
Fired when information is available about errors during data delivery.
Syntax
Sub netdialcontrol_Error(ErrorCode As Integer, Description As String)
Remarks
The Error event is fired in case of exceptional conditions during message processing. Normally the control fails with an error.
The ErrorCode parameter contains an error code, and the Description parameter contains a textual description of the error. For a list of valid error codes and their descriptions, please refer to the Error Codes section.
PhonebookEntry Event (NetDial Control)
This event is fired for every Phonebook entry when the ListPhonebook method is called.
Syntax
Sub netdialcontrol_PhonebookEntry(Entry As String)
Remarks
To get extended entry information, set the PhonebookEntry property to the value supplied in the Entry parameter.
Status Event (NetDial Control)
This event is fired during connection or disconnection attempts.
Syntax
Sub netdialcontrol_Status(Operation As Integer, StatusCode As Integer, OperationDescription As String, StatusDescription As String)
Remarks
The Operation parameter indicates the operation currently in progress.
The StatusCode shows the status of the operation.
The OperationDescription and StatusDescription parameters are the corresponding descriptions.
StatusCode | StatusDescription |
0 | Open port |
1 | Port opened |
2 | Connect device |
3 | Device connected |
4 | All devices connected |
5 | Authenticate |
6 | Authenticate: notify |
7 | Authentication: retry |
8 | Authentication: callback |
9 | Authentication: change password |
10 | Authentication: project |
11 | Authentication: link speed |
12 | Authentication: acknowledge |
13 | Reauthentication |
14 | Authenticated |
15 | Prepare for callback |
16 | Wait for modem reset |
17 | Wait for modem callback |
18 | Projected |
19 | Start authentication |
20 | Callback complete |
21 | Logon network |
0x1000 | Interactive |
4097 | Retry authentication |
4098 | Callback set by Caller |
4099 | Password expired |
8192 | Connected |
8193 | Disconnected |
Config Settings (NetDial Control)
The control accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the control, access to these internal properties is provided through the Config method.NetDial Config Settings
Note: This option is valid only when a local area network connection and dial-up connection both exist simultaneously.
0 | VPN_DEFAULT |
1 | VPN_PPTP |
2 | VPN_L2TP |
3 | VPN_SSTP |
Note: This configuration setting is available only in .NET.
Base Config Settings
The following is a list of valid code page identifiers:
Identifier | Name |
037 | IBM EBCDIC - U.S./Canada |
437 | OEM - United States |
500 | IBM EBCDIC - International |
708 | Arabic - ASMO 708 |
709 | Arabic - ASMO 449+, BCON V4 |
710 | Arabic - Transparent Arabic |
720 | Arabic - Transparent ASMO |
737 | OEM - Greek (formerly 437G) |
775 | OEM - Baltic |
850 | OEM - Multilingual Latin I |
852 | OEM - Latin II |
855 | OEM - Cyrillic (primarily Russian) |
857 | OEM - Turkish |
858 | OEM - Multilingual Latin I + Euro symbol |
860 | OEM - Portuguese |
861 | OEM - Icelandic |
862 | OEM - Hebrew |
863 | OEM - Canadian-French |
864 | OEM - Arabic |
865 | OEM - Nordic |
866 | OEM - Russian |
869 | OEM - Modern Greek |
870 | IBM EBCDIC - Multilingual/ROECE (Latin-2) |
874 | ANSI/OEM - Thai (same as 28605, ISO 8859-15) |
875 | IBM EBCDIC - Modern Greek |
932 | ANSI/OEM - Japanese, Shift-JIS |
936 | ANSI/OEM - Simplified Chinese (PRC, Singapore) |
949 | ANSI/OEM - Korean (Unified Hangul Code) |
950 | ANSI/OEM - Traditional Chinese (Taiwan; Hong Kong SAR, PRC) |
1026 | IBM EBCDIC - Turkish (Latin-5) |
1047 | IBM EBCDIC - Latin 1/Open System |
1140 | IBM EBCDIC - U.S./Canada (037 + Euro symbol) |
1141 | IBM EBCDIC - Germany (20273 + Euro symbol) |
1142 | IBM EBCDIC - Denmark/Norway (20277 + Euro symbol) |
1143 | IBM EBCDIC - Finland/Sweden (20278 + Euro symbol) |
1144 | IBM EBCDIC - Italy (20280 + Euro symbol) |
1145 | IBM EBCDIC - Latin America/Spain (20284 + Euro symbol) |
1146 | IBM EBCDIC - United Kingdom (20285 + Euro symbol) |
1147 | IBM EBCDIC - France (20297 + Euro symbol) |
1148 | IBM EBCDIC - International (500 + Euro symbol) |
1149 | IBM EBCDIC - Icelandic (20871 + Euro symbol) |
1200 | Unicode UCS-2 Little-Endian (BMP of ISO 10646) |
1201 | Unicode UCS-2 Big-Endian |
1250 | ANSI - Central European |
1251 | ANSI - Cyrillic |
1252 | ANSI - Latin I |
1253 | ANSI - Greek |
1254 | ANSI - Turkish |
1255 | ANSI - Hebrew |
1256 | ANSI - Arabic |
1257 | ANSI - Baltic |
1258 | ANSI/OEM - Vietnamese |
1361 | Korean (Johab) |
10000 | MAC - Roman |
10001 | MAC - Japanese |
10002 | MAC - Traditional Chinese (Big5) |
10003 | MAC - Korean |
10004 | MAC - Arabic |
10005 | MAC - Hebrew |
10006 | MAC - Greek I |
10007 | MAC - Cyrillic |
10008 | MAC - Simplified Chinese (GB 2312) |
10010 | MAC - Romania |
10017 | MAC - Ukraine |
10021 | MAC - Thai |
10029 | MAC - Latin II |
10079 | MAC - Icelandic |
10081 | MAC - Turkish |
10082 | MAC - Croatia |
12000 | Unicode UCS-4 Little-Endian |
12001 | Unicode UCS-4 Big-Endian |
20000 | CNS - Taiwan |
20001 | TCA - Taiwan |
20002 | Eten - Taiwan |
20003 | IBM5550 - Taiwan |
20004 | TeleText - Taiwan |
20005 | Wang - Taiwan |
20105 | IA5 IRV International Alphabet No. 5 (7-bit) |
20106 | IA5 German (7-bit) |
20107 | IA5 Swedish (7-bit) |
20108 | IA5 Norwegian (7-bit) |
20127 | US-ASCII (7-bit) |
20261 | T.61 |
20269 | ISO 6937 Non-Spacing Accent |
20273 | IBM EBCDIC - Germany |
20277 | IBM EBCDIC - Denmark/Norway |
20278 | IBM EBCDIC - Finland/Sweden |
20280 | IBM EBCDIC - Italy |
20284 | IBM EBCDIC - Latin America/Spain |
20285 | IBM EBCDIC - United Kingdom |
20290 | IBM EBCDIC - Japanese Katakana Extended |
20297 | IBM EBCDIC - France |
20420 | IBM EBCDIC - Arabic |
20423 | IBM EBCDIC - Greek |
20424 | IBM EBCDIC - Hebrew |
20833 | IBM EBCDIC - Korean Extended |
20838 | IBM EBCDIC - Thai |
20866 | Russian - KOI8-R |
20871 | IBM EBCDIC - Icelandic |
20880 | IBM EBCDIC - Cyrillic (Russian) |
20905 | IBM EBCDIC - Turkish |
20924 | IBM EBCDIC - Latin-1/Open System (1047 + Euro symbol) |
20932 | JIS X 0208-1990 & 0121-1990 |
20936 | Simplified Chinese (GB2312) |
21025 | IBM EBCDIC - Cyrillic (Serbian, Bulgarian) |
21027 | Extended Alpha Lowercase |
21866 | Ukrainian (KOI8-U) |
28591 | ISO 8859-1 Latin I |
28592 | ISO 8859-2 Central Europe |
28593 | ISO 8859-3 Latin 3 |
28594 | ISO 8859-4 Baltic |
28595 | ISO 8859-5 Cyrillic |
28596 | ISO 8859-6 Arabic |
28597 | ISO 8859-7 Greek |
28598 | ISO 8859-8 Hebrew |
28599 | ISO 8859-9 Latin 5 |
28605 | ISO 8859-15 Latin 9 |
29001 | Europa 3 |
38598 | ISO 8859-8 Hebrew |
50220 | ISO 2022 Japanese with no halfwidth Katakana |
50221 | ISO 2022 Japanese with halfwidth Katakana |
50222 | ISO 2022 Japanese JIS X 0201-1989 |
50225 | ISO 2022 Korean |
50227 | ISO 2022 Simplified Chinese |
50229 | ISO 2022 Traditional Chinese |
50930 | Japanese (Katakana) Extended |
50931 | US/Canada and Japanese |
50933 | Korean Extended and Korean |
50935 | Simplified Chinese Extended and Simplified Chinese |
50936 | Simplified Chinese |
50937 | US/Canada and Traditional Chinese |
50939 | Japanese (Latin) Extended and Japanese |
51932 | EUC - Japanese |
51936 | EUC - Simplified Chinese |
51949 | EUC - Korean |
51950 | EUC - Traditional Chinese |
52936 | HZ-GB2312 Simplified Chinese |
54936 | Windows XP: GB18030 Simplified Chinese (4 Byte) |
57002 | ISCII Devanagari |
57003 | ISCII Bengali |
57004 | ISCII Tamil |
57005 | ISCII Telugu |
57006 | ISCII Assamese |
57007 | ISCII Oriya |
57008 | ISCII Kannada |
57009 | ISCII Malayalam |
57010 | ISCII Gujarati |
57011 | ISCII Punjabi |
65000 | Unicode UTF-7 |
65001 | Unicode UTF-8 |
Identifier | Name |
1 | ASCII |
2 | NEXTSTEP |
3 | JapaneseEUC |
4 | UTF8 |
5 | ISOLatin1 |
6 | Symbol |
7 | NonLossyASCII |
8 | ShiftJIS |
9 | ISOLatin2 |
10 | Unicode |
11 | WindowsCP1251 |
12 | WindowsCP1252 |
13 | WindowsCP1253 |
14 | WindowsCP1254 |
15 | WindowsCP1250 |
21 | ISO2022JP |
30 | MacOSRoman |
10 | UTF16String |
0x90000100 | UTF16BigEndian |
0x94000100 | UTF16LittleEndian |
0x8c000100 | UTF32String |
0x98000100 | UTF32BigEndian |
0x9c000100 | UTF32LittleEndian |
65536 | Proprietary |
This setting only works on these controls: AS3Receiver, AS3Sender, Atom, Client(3DS), FTP, FTPServer, IMAP, OFTPClient, SSHClient, SCP, Server(3DS), Sexec, SFTP, SFTPServer, SSHServer, TCPClient, TCPServer.
Setting this configuration setting to tells the control to use the internal implementation instead of using the system security libraries.
This setting is set to by default on all platforms.
Trappable Errors (NetDial Control)
NetDial Errors
20144 Busy executing current method. | |
20201 Cannot load the RASAPI library. | |
20202 Cannot access the functions of RASAPI library. | |
20301 Cannot load the RAS library. | |
20302 Cannot access the functions of RAS library. | |
20303 Entry already exists. | |
20304 Error dialing entry. Description contains more detail. | |
20601 An operation is pending. | |
20602 The port handle is invalid. | |
20603 The port is already open. | |
20604 The caller's buffer is too small. | |
20605 The wrong information is specified. | |
20606 Cannot set port information. | |
20607 The port is not connected. | |
20608 The event is invalid. | |
20609 The device does not exist. | |
20610 The device type does not exist. | |
20611 The buffer is invalid. | |
20612 The route is not available. | |
20613 The route is not allocated. | |
20614 Invalid compression specified. | |
20615 Out of buffers. | |
20616 The port was not found. | |
20617 An asynchronous request is pending. | |
20618 The port or device is already disconnecting. | |
20619 The port is not open. | |
20620 The port is disconnected. | |
20621 There are no endpoints. | |
20622 Cannot open the phonebook file. | |
20623 Cannot load the phonebook file. | |
20624 Cannot find the phonebook entry. | |
20625 Cannot write the phonebook file. | |
20626 Invalid information found in the phonebook. | |
20627 Cannot load a string. | |
20628 Cannot find key. | |
20629 The port was disconnected. | |
20630 The port was disconnected by the remote machine. | |
20631 The port was disconnected due to hardware failure. | |
20632 The port was disconnected by the user. | |
20633 The structure size is incorrect. | |
20634 The port is already in use or is not configured for Remote Access dial-out. | |
20635 Cannot register your computer on the remote network. | |
20636 Unknown error. | |
20637 The wrong device is attached to the port. | |
20638 The string could not be converted. | |
20639 The request has timed out. | |
20640 No asynchronous net available. | |
20641 A NetBIOS error has occurred. | |
20642 The server cannot allocate the NetBIOS resources needed to support the client. | |
20643 One of your NetBIOS names is already registered on the remote network. | |
20644 A network adapter at the server failed. | |
20645 You will not receive network message popups. | |
20646 Internal authentication error. | |
20647 The account is not permitted to log on at this time of day. | |
20648 The account is disabled. | |
20649 The password has expired. | |
20650 The account does not have Remote Access permission. | |
20651 The Remote Access server is not responding. | |
20652 Your modem (or other connecting device) has reported an error. | |
20653 Unrecognized response from the device. | |
20654 A macro required by the device was not found in the device .INF file section. | |
20655 A command or response in the device .INF file section refers to an undefined macro. | |
20656 The <message> macro was not found in the device .INF file section. | |
20657 The <defaultoff> macro in the device .INF file section contains an undefined macro. | |
20658 The device .INF file could not be opened. | |
20659 The device name in the device .INF or media .INI file is too long. | |
20660 The media .INI file refers to an unknown device name. | |
20661 The device .INF file contains no responses for the command. | |
20662 The device .INF file is missing a command. | |
20663 Attempted to set a macro not listed in device .INF file section. | |
20664 The media .INI file refers to an unknown device type. | |
20665 Cannot allocate memory. | |
20666 The port is not configured for Remote Access. | |
20667 Your modem (or other connecting device) is not functioning. | |
20668 Cannot read the media .INI file. | |
20669 The connection dropped. | |
20670 The usage parameter in the media .INI file is invalid. | |
20671 Cannot read the section name from the media .INI file. | |
20672 Cannot read the device type from the media .INI file. | |
20673 Cannot read the device name from the media .INI file. | |
20674 Cannot read the usage from the media .INI file. | |
20675 Cannot read the maximum connection bps rate from the media .INI file. | |
20676 Cannot read the maximum carrier bps rate from the media .INI file. | |
20677 The line is busy. | |
20678 A person answered instead of a modem. | |
20679 There is no answer. | |
20680 Cannot detect carrier. | |
20681 There is no dial tone. | |
20682 General error reported by device. | |
20683 ERROR WRITING SECTIONNAME | |
20684 ERROR WRITING DEVICETYPE | |
20685 ERROR WRITING DEVICENAME | |
20686 ERROR WRITING MAXCONNECTBPS | |
20687 ERROR WRITING MAXCARRIERBPS | |
20688 ERROR WRITING USAGE | |
20689 ERROR WRITING DEFAULTOFF | |
20690 ERROR READING DEFAULTOFF | |
20691 ERROR EMPTY INI FILE | |
20692 Access denied because username or password is invalid on the domain. | |
20693 Hardware failure in port or attached device. | |
20694 ERROR NOT BINARY MACRO | |
20695 ERROR DCB NOT FOUND | |
20696 ERROR STATE MACHINES NOT STARTED | |
20697 ERROR STATE MACHINES ALREADY STARTED | |
20698 ERROR PARTIAL RESPONSE LOOPING | |
20699 A response keyname in the device .INF file is not in the expected format. | |
20700 The device response caused a buffer overflow. | |
20701 The expanded command in the device .INF file is too long. | |
20702 The device moved to a bps rate not supported by the COM driver. | |
20703 Device response received when none expected. | |
20704 ERROR INTERACTIVE MODE | |
20705 ERROR BAD CALLBACK NUMBER | |
20706 ERROR INVALID AUTH STATE | |
20707 ERROR WRITING INITBPS | |
20708 X.25 diagnostic indication. | |
20709 The account has expired. | |
20710 Error changing password on domain. | |
20711 Serial overrun errors were detected while communicating with your modem. | |
20712 RasMan initialization failure. Check the event log. | |
20713 Biplex port is initializing. Wait a few seconds and redial. | |
20714 No active ISDN lines are available. | |
20715 Not enough ISDN channels are available to make the call. | |
20716 Too many errors occurred because of poor phone line quality. | |
20717 The Remote Access IP configuration is unusable. | |
20718 No IP addresses are available in the static pool of Remote Access IP addresses. | |
20719 PPP timeout. | |
20720 PPP terminated by remote machine. | |
20721 No PPP control protocols configured. | |
20722 Remote PPP peer is not responding. | |
20723 The PPP packet is invalid. | |
20724 The phone number, including prefix and suffix, is too long. | |
20725 The IPX protocol cannot dial-out on the port because the computer is an IPX router. | |
20726 The IPX protocol cannot dial-in on the port because the IPX router is not installed. | |
20727 The IPX protocol cannot be used for dial-out on more than one port at a time. | |
20728 Cannot access TCPCFG.DLL. | |
20729 Cannot find an IP adapter bound to Remote Access. | |
20730 Serial Line Internet Protocol (SLIP) cannot be used unless the IP protocol is installed. | |
20731 Computer registration is not complete. | |
20732 The protocol is not configured. | |
20733 The PPP negotiation is not converging. | |
20734 The PPP control protocol for this network protocol is not available on the server. | |
20735 The PPP link control protocol terminated. | |
20736 The requested address was rejected by the server. | |
20737 The remote computer terminated the control protocol. | |
20738 Loopback detected. | |
20739 The server did not assign an address. | |
20740 The remote server cannot use the Windows NT encrypted password. | |
20741 The TAPI devices configured for Remote Access failed to initialize or were not installed correctly. | |
20742 The local computer does not support encryption. | |
20743 The remote server does not support encryption. | |
20744 The remote server requires encryption. | |
20745 Cannot use the IPX net number assigned by the remote server. Check the event log. | |
20746 ERROR_INVALID_SMM | |
20747 ERROR_SMM_UNINITIALIZED | |
20748 ERROR_NO_MAC_FOR_PORT | |
20749 ERROR_SMM_TIMEOUT | |
20750 ERROR_BAD_PHONE_NUMBER | |
20751 ERROR_WRONG_MODULE | |
20752 The callback number contains an invalid character. Only the following 18 characters are allowed: 0 to 9, T, P, W, (, ), -, @, and space. | |
20753 A syntax error was encountered while processing a script. | |
20754 The connection could not be disconnected because it was created by the multiprotocol router. | |
20755 The system could not find the multilink bundle. | |
20756 The system cannot perform automated dial because this connection has a custom dialer specified. | |
20757 This connection is already being dialed. | |
20758 Remote Access services could not be started automatically. Additional information is provided in the event log. | |
20759 Internet Connection Sharing is already enabled on the connection. | |
20760 An error occurred while the existing Internet Connection Sharing settings were being changed. | |
20761 An error occurred while routing capabilities were being enabled. | |
20762 An error occurred while Internet Connection Sharing was being enabled for the connection. | |
20763 An error occurred while the local network was being configured for sharing. | |
20764 Internet Connection Sharing cannot be enabled. There is more than one LAN connection other than the connection to be shared. | |
20765 No smart card reader is installed. | |
20766 Internet Connection Sharing cannot be enabled. A LAN connection is already configured with the IP address that is required for automatic IP addressing. | |
20767 A certificate could not be found. Connections that use the L2TP protocol over IPSec require the installation of a machine certificate, also known as a computer certificate. | |
20768 Internet Connection Sharing (ICS) cannot be enabled. The LAN connection selected as the private network has more than one IP address configured. Please reconfigure the LAN connection with a single IP address before enabling ICS. | |
20769 The connection attempt failed because of failure to encrypt data. | |
20770 The specified destination is not reachable. | |
20771 The remote computer rejected the connection attempt. | |
20772 The connection attempt failed because the network is busy. | |
20773 The remote computer's network hardware is incompatible with the type of call requested. | |
20774 The connection attempt failed because the destination number has changed. | |
20775 The connection attempt failed because of a temporary failure. Try connecting again. | |
20776 The call was blocked by the remote computer. | |
20777 The call could not be connected because the remote computer has invoked the Do Not Disturb feature. | |
20778 The connection attempt failed because the modem (or other connecting device on the remote computer is out of order. | |
20779 It was not possible to verify the identity of the server. | |
20780 To dial-out using this connection you must use a smart card. | |
20781 An attempted function is not valid for this connection. | |
20782 The connection requires a certificate, and no valid certificate was found. For further assistance, click More Info or search Help and Support Center for this error number. | |
20783 Internet Connection Sharing (ICS) and Internet Connection Firewall (ICF) cannot be enabled because outing and Remote Access have been enabled on this computer. To enable ICS or ICF, first disable Routing and Remote Access. For more information about Routing and Remote Access, ICS, or ICF, see Help and Support. | |
20784 Internet Connection Sharing (ICS) cannot be enabled. The LAN connection selected as the private network is either not present, or is disconnected from the network. Please ensure that the LAN adapter is connected before enabling ICS. | |
20785 You cannot dial using this connection at logon time, because it is configured to use a username different than the one on the smart card. If you want to use it at logon time, you must configure it to use the username on the smart card. | |
20786 You cannot dial using this connection at logon time, because it is not configured to use a smart card. If you want to use it at logon time, you must edit the properties of this connection so that it uses a smart card. | |
20787 The L2TP connection attempt failed because there is no valid machine certificate on your computer for security authentication. | |
20788 The L2TP connection attempt failed because the security layer could not authenticate the remote computer. | |
20789 The L2TP connection attempt failed because the security layer could not negotiate compatible parameters with the remote computer. | |
20790 The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer. | |
20791 The L2TP connection attempt failed because certificate validation on the remote computer failed. | |
20792 The L2TP connection attempt failed because security policy for the connection was not found. | |
20793 The L2TP connection attempt failed because security negotiation timed out. | |
20794 The L2TP connection attempt failed because an error occurred while negotiating security. | |
20795 The Framed Protocol RADIUS attribute for this user is not PPP. | |
20796 The Tunnel Type RADIUS attribute for this user is not correct. | |
20797 The Service Type RADIUS attribute for this user is neither Framed nor Callback Framed. | |
20798 A connection to the remote computer could not be established because the modem was not found or was busy. For further assistance, click More Info or search Help and Support Center for this error number. | |
20799 A certificate could not be found that can be used with this Extensible Authentication Protocol. | |
20800 Internet Connection Sharing (ICS) cannot be enabled due to an IP address conflict on the network. ICS requires the host be configured to use 192.168.0.1. Please ensure that no other client on the network is configured to use 192.168.0.1. | |
20801 Unable to establish the VPN connection. The VPN server may be unreachable, or security parameters may not be configured properly for this connection. | |
20802 This connection is configured to validate the identity of the access server, but Windows cannot verify the digital certificate sent by the server. | |
20803 The card supplied was not recognized. Please check that the card is inserted correctly and fits tightly. | |
20804 The PEAP configuration stored in the session cookie does not match the current session configuration. | |
20805 The PEAP identity stored in the session cookie does not match the current identity. | |
20806 You cannot dial using this connection at logon time, because it is configured to use logged on user's credentials. | |
20901 The router is not running. | |
20902 The interface is already connected. | |
20903 The specified protocol identifier is not known to the router. | |
20904 The Demand-Dial Interface Manager is not running. | |
20905 An interface with this name is already registered with the router. | |
20906 An interface with this name is not registered with the router. | |
20907 The interface is not connected. | |
20908 The specified protocol is stopping. | |
20909 The interface is connected and hence cannot be deleted. | |
20910 The interface credentials have not been set. | |
20911 This interface is already in the process of connecting. | |
20912 An update of routing information on this interface is already in progress. | |
20913 The interface configuration in invalid. Another interface is already connected to the same interface on the remote router. | |
20914 A Remote Access Client attempted to connect over a port that was reserved for Routers only. | |
20915 A Demand-Dial Router attempted to connect over a port that was reserved for Remote Access Clients only. | |
20916 The client interface with this name already exists and is currently connected. | |
20917 The interface is in a disabled state. | |
20918 The authentication protocol was rejected by the remote peer. | |
20919 There are no authentication protocols available for use. | |
20920 The remote computer refused to be authenticated using the configured authentication protocol. The line has been disconnected. | |
20921 The remote account does not have Remote Access permission. | |
20922 The remote account has expired. | |
20923 The remote account is disabled. | |
20924 The remote account is not permitted to logon at this time of day. | |
20925 Access was denied to the remote peer because the username or password is invalid on the domain. | |
20926 There are no routing enabled ports available for use by this Demand-Dial interface. | |
20927 The port has been disconnected due to inactivity. | |
20928 The interface is not reachable at this time. | |
20929 The Demand-Dial service is in a paused state. | |
20930 The interface has been disconnected by the administrator. | |
20931 The authentication server did not respond to authentication requests in a timely fashion. | |
20932 The maximum number of ports allowed for use in the multilinked connection has been reached. | |
20933 The connection time limit for the user has been reached. | |
20934 The maximum limit on the number of LAN interfaces supported has been reached. | |
20935 The maximum limit on the number of Demand-Dial interfaces supported has been reached. | |
20936 The maximum limit on the number of Remote Access clients supported has been reached. | |
20937 The port has been disconnected due to the Bandwidth Allocation Protocol policy. | |
20938 Because another connection of your type is in use, the incoming connection cannot accept your connection request. | |
20939 No RADIUS servers were located on the network. | |
20940 An invalid response was received from the RADIUS authentication server. Make sure that the case-sensitive secret password for the RADIUS server is set correctly. | |
20941 You do not have permission to connect at this time. | |
20942 You do not have permission to connect using the current device type. | |
20943 You do not have permission to connect using the selected authentication protocol. | |
20944 Bandwidth Allocation Protocol is required for this user. | |
20945 The interface is not allowed to connect at this time. | |
20946 The saved router configuration is incompatible with the current router. | |
20947 Remote Access has detected older format user accounts that will not be migrated automatically. | |
20949 The transport is already installed with the router. | |
20950 Received invalid signature length in packet from RADIUS server. | |
20951 Received invalid signature in packet from RADIUS server. | |
20952 Did not receive signature along with EAPMessage from RADIUS server. | |
20953 Received packet with invalid length or Id from RADIUS server. | |
20954 Received packet with attribute with invalid length from RADIUS server. | |
20955 Received invalid packet from RADIUS server. | |
20956 Authenticator does not match in packet from RADIUS server. |