Results 1 to 2 of 2

Thread: Auto Myspace Login

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    6

    Auto Myspace Login

    ok, I havent used VB sence prolly 2002...little rusty. I need to know how to make a auto logon for myspace. I have a webbrowser set up in my vb program already and it navigates to MySpace, I just need the user to people able to store there info and have it auto login, Any help would be nice. using the Visual Studio 2008 VB


    Thank you,
    DaDealer

  2. #2
    Addicted Member
    Join Date
    Dec 2006
    Location
    London, England
    Posts
    142

    Re: Auto Myspace Login

    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
             Dim htmlDoc As HtmlDocument = wb1.Document 'Gets current Document loaded by WebBrowser Control
            htmlDoc.All("ctl00$cpMain$LoginBox$Email_Textbox").InnerText = "SomeUserName" 'places text in UserName textbox
            htmlDoc.All("ctl00$cpMain$LoginBox$Password_Textbox").InnerText = "SomePassword" 'places text in password textbox
            htmlDoc.GetElementById("dlb").InvokeMember("click") 'invokes the login button click event
        End Sub
    Redmo
    The universal aptitude for ineptitude makes any human accomplishment an incredible miracle -Col. John P. Stapp


    Please rate the posts that have helped. Makes us feel all warm and fuzzy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width