DialUp Example

 

This example will attempt to start a dial-up session using the phonebook entry 溺y ISP. If successful, it will open a webpage to Yahoo!, then disconnect.

 

Sub Main

 int iConnectionOkay As Integer

 

 iConnectionOkay = Action2.DialUp (溺y ISP, 1)

 If iConnectionOkay = 1 Then

  ' Connection established! Try to open a webpage and disconnect

  Action2.OpenWebpage (http://www.yahoo.com);

  Action2.DialUp (溺y ISP, 0)

 Else

  MsgBox 鼎onnection could not be established.

 End If

End Sub