This example will attempt to start a dial-up session using the phonebook entry ôMy ISP.ö If successful, it will open a webpage to Yahoo!, then disconnect.
Sub Main
int iConnectionOkay As Integer
iConnectionOkay = Action2.DialUp (ôMy ISPö, 1)
If iConnectionOkay = 1 Then
' Connection established! Try to open a webpage and disconnect
Action2.OpenWebpage (http://www.yahoo.com);
Action2.DialUp (ôMy ISPö, 0)
Else
MsgBox ôConnection could not be established.ö
End If
End Sub