wwipstuff::InternetDial

Brings up the Windows Dialer dialog that prompts for connection info and dials the connection requested.

o.InternetDial(llUnattended,lcConnection)                        

Return Value

.T. or .F.

Parameters

llUnattended
Dials the connection unattended without user intervention if possible. Note although this works without user interaction, a dialog pops up and shows dialing progress.

lcConnection
Optional - Name of the Dial-up Networking connection that is to be dialed. If left out uses the default connection.


Remarks

If you specify an invalid connection string this method will dial the default connection.

This method always displays a user interface with dial progress and the ability to cancel dialing.

This method returns a connection handle in nRasHandle which is required in the call to InternetHangup to disconnect. You either have to keep the instance of this object alive or store the nRasHandle value somewhere permanent to assure that the connection can be terminated programmatically. Note that you can still disconnect the connection using the standard Windows Dialup dialogs and lists, but you willl thereby invalidate the handle.


See also:

Class wwipstuff | wwIPStuff::InternetHangup


  Last Updated: 6/3/2003 | © West Wind Technologies, 2008