Creating a Dial Up Networking connection

Does anyone know of an API call to create a new dial up networking connection?


Comments

  • open a shell and call for the netdial program to create a new connection...


    : Does anyone know of an API call to create a new dial up networking connection?





  • : Does anyone know of an API call to create a new dial up networking connection?


    Invoking Windows 95 Dial-Up Networking




    To start the dialer under Win95 you can try this:


    Private Sub PPPConnect(ConnectionName As String)

    Dim x As Long

    x = Shell("rundll32.exe rnaui.dll,RnaDial " & ConnectionName, 1)

    Do

    DoEvents

    On Error Resume Next

    AppActivate "Connect To"

    If Err = 0 Then Exit Do

    Loop

    SendKeys "{Enter}", True

    End Sub






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories