Results 1 to 4 of 4

Thread: [RESOLVED] I need help with my youtube app - please

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    294

    Resolved [RESOLVED] I need help with my youtube app - please

    I have a small app for upload and download videos from youtube but now I think that youtube changed the login page because my app not login anymore. This is the html code of the youtube login page.

    <input id="signIn" class="g-button g-button-submit" type="submit" value="Sign in" name="signIn">



    Can you help me? I need push this button.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,420

    Re: I need help with my youtube app - please

    that element has an id property, so you can reference it with GetElementById:

    vb Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.     WebBrowser1.Document.GetElementById("signIn").InvokeMember("click")
    3. End Sub

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    294

    Re: I need help with my youtube app - please

    Thanks paul but not work for me. I push the button but nothing happen.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    294

    Re: I need help with my youtube app - please

    Quote Originally Posted by .paul. View Post
    that element has an id property, so you can reference it with GetElementById:

    vb Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.     WebBrowser1.Document.GetElementById("signIn").InvokeMember("click")
    3. End Sub
    Thanks Paul now is working good. God bless you.

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