Link Search Menu Expand Document

Root.Dial Property

Explanation Make dial-up connection and disconnection.

For Windows CE, if the DialEntry property is specified, the connection name is used, and if not specified, the setting value of "Auto dial name" in "Internet options" is used.
It is also affected by the Root.Silent specification specified in the AutoDial property.
Can only be used with Mobile
Only supported since Mobile Ver3.2.1
Call format var ret = //.Dial( action )
Return value Returns $ TRUE on success, $ FALSE if the connection (disconnect) fails or is already connected (disconnected).
Always returns $ TRUE if action is Root.DownAlt.
Arguments integer action Specify one of the following values.
Constant Description
Root.UP Make a dial-up connection
Root.Down Disconnect
Root.DownAlt It is effective only for Windows Mobile. Click the "End call" button to disconnect.
It is considered the same as Down on Windows CE.
Added since Image
Root.CommandBar + Root.SIPBar Command bar display, menu display
Exception None
Example of use
    //.Dial(Root.UP);
    
Related item AutoDial, DialEntry properties