Connect Method
Attempts to dial the PhonebookEntry from Phonebook .
Object Oriented Interface
public function doConnect();
Procedural Interface
ipworks_netdial_do_connect($res);
Remarks
This method attempts to dial the PhonebookEntry from Phonebook. If that is empty then the PhoneNumber, CallbackNumber, and Domain (if applicable) are used to connect. The class doesn't return until the operation is completed, but during this time Status events are fired showing the ongoing progress.
Example (Dialing a Phonebook)
NetDialControl.Phonebook = "MyPhonebook" NetDialControl.Connect()
Example (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).