Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27376

login code for dropbox not working. desperate for help

$
0
0
Please help me with the following code. After opening the link it does not like to enter in username and password. It is essential that they access through webbrowser form:


Code:

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        Dim Web As New DropBoxWebBrowse
        Dim user = TextBox1.Text
        Dim pass = TextBox2.Text

        Web.Show()
        Web.WebBrowser1.Navigate("https://www.dropbox.com/login?lhs_type=anywhere")

        With Web.WebBrowser1
            .Document.GetElementById("login_email").SetAttribute("Value", user)
            .Document.GetElementById("login_password").SetAttribute("Init val", pass)
        End With

    End Sub


Viewing all articles
Browse latest Browse all 27376

Trending Articles