M
Matevsz
Guest
Hi all, how to open a new youtube page via the button "Like"?
Code button Like:
My button code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim buttonele As HtmlElementCollection = WebBrowser1.Document.All
For Each webpageelement As HtmlElement In buttonele
If webpageelement.GetAttribute("id") = "likeText" Then
webpageelement.InvokeMember("click")
End If
Next
End Sub
but nothing happens when you press it
Continue reading...
Code button Like:
My button code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim buttonele As HtmlElementCollection = WebBrowser1.Document.All
For Each webpageelement As HtmlElement In buttonele
If webpageelement.GetAttribute("id") = "likeText" Then
webpageelement.InvokeMember("click")
End If
Next
End Sub
but nothing happens when you press it
Continue reading...