PPPoe Dialer

Jun 20, 2012 at 4:22 AM

Hello everybody!
I'm new here and also in visual basic ...I would like to be able to help create a simple pppoe dialer with Username, Password, Username and Password Save and Connect and Disconnect button...

Could anyone help me?

Thank you,
Adriano.

Coordinator
Jun 20, 2012 at 9:20 PM
Edited Jun 20, 2012 at 9:21 PM

You may want to check out the video, the only difference between VPN and Broadband connections is you need to at least uses the WINXP build flavor and use the RasEntry.CreateBroadbandEntry method to create the phone book entry rather than CreateVpnEntry as shown in the video.

The video is in C#, but that should give you a general idea of what you need.

Edit: I wanted to add the video is availble on Youtube, there's also a link to it on the Home page.

Jun 21, 2012 at 12:15 AM

so I have to use:

Private Sub createEntryButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles createEntryButton.Click

this.rasPhoneBook1.Open();

RasEntry = RasEntry.CreateBroadbandEntry("Connection Name");

this.rasPhoneBook1.Entries.Add(entry);

End Sub

is it?

I'm from Brazil and my English is not much! :)

 

Thanks!

Jun 21, 2012 at 12:29 AM

or would it be so?

        private void createEntryButton_Click(object sender, EventArgs e)

        {

            this.rasPhoneBook1.Open();
            RasEntry entry = RasEntry.CreateBroadbandEntry("Connection Name", RasDevice.GetDeviceByName("PPPoE", RasDeviceType.Broadband, false));
            this.rasPhoneBook1.Entries.Add(entry);

        }