Establishes a dial-up connection.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
DialUp | Dial-up | Asynchronous | Supported (see note) | Supported | Supported |
DialUp( numType, strPhonebookEntryOrModem, strUserName, strPassword, optStrDomain, strPhoneNumber )
0 | OK: dialing started |
−1 | Error: INDRAS.DLL not found |
−2 | Error: INDRAS.DLL damaged |
−3 | Error: invalid number of parameters (minimum=5) |
-4 | Invalid value for the numType parameter (0 or 1) |
-5 | Invalid value for the strPhonebookEntryOrModem parameter (string) |
-6 | PhoneBook or Modem does not exist |
-7 | PhoneBook or Modem is in use |
-8 |
Depends of the numType parameter:
|
-9 | Unable to create a temporary PhoneBook. |
The operating system's RAS Server executes the dial-in for Windows PC stations automatically.
Tag Name | Expression |
---|---|
Tag | DialUp( 0, "OfficeDialup", "Guest", "Password" ) |
Tag | DialUp( 1, "USRobotics_SportsterFaxModem", "HR12378", "HRPass", "15125554321" ) |
Tag | DialUp( 2, "DirectDial", "Rberton", "MyPassword", "156.48.25.0") |
See also: FindModem()