[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.
Re: I need help with my youtube app - please
that element has an id property, so you can reference it with GetElementById:
vb Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Document.GetElementById("signIn").InvokeMember("click")
End Sub
Re: I need help with my youtube app - please
Thanks paul but not work for me. I push the button but nothing happen.
Re: I need help with my youtube app - please
Quote:
Originally Posted by
.paul.
that element has an id property, so you can reference it with GetElementById:
vb Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Document.GetElementById("signIn").InvokeMember("click")
End Sub
Thanks Paul now is working good. God bless you.