Monday, May 12, 2014

Visual Basic .NET Tutorial 55 - How to login to a website using VB.NET





Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        WebBrowser1.Navigate("https://www.facebook.com/")

    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        WebBrowser1.Document.GetElementById("email").SetAttribute("value", TextBox1.Text)
        WebBrowser1.Document.GetElementById("pass").SetAttribute("value", TextBox2.Text)

        WebBrowser1.Document.GetElementById("loginbutton").InvokeMember("click")
    End Sub
End Class
















---------------------------------------------------------

Website Login
Create a Website Login Form Using Vb.net
vb.net Log into website
vb.net Log into Website
VB .Net automate login and submit form to website
How to log into a website from VB.Net
Login to a site using HttpWebRequest VB.NET
Searches related to how to Website Login vb.net
login en visual basic net
vb net open website


No comments:

Post a Comment