• Log in or sign up for an account here: https://www.sythe.org/login

How do I post a comment on youtube through a webbrowser in visual basic 6?

lukestas

Apprentice
Joined
Aug 22, 2008
Sythe Gold
0
Messages
846
Hello, I need to post a comment on youtube through a webbrowser control on visual basic 6.
The current code I am using does not work.
Can someone help me out with this please? it's really confusing. I don't see why it doesn't work.

Current Code:
Code:
Private Sub Command2_Click()
WebBrowser1.Navigate List1.Text
WebBrowser1.Document.All ("comment").Value = Text4.Text
WebBrowser1.Document.All ("add_comment_button").Click
 
hey this is what i wrote up for you works 100%
Code:
 For Each HTMLele As HtmlElement In WebBrowser1.Document.All
            If HTMLele.Name = "comment" Then
                 HTMLele.SetAttribute("value", "YOUR COMMENT")
               WebBrowser1.Document.All("add_comment_button").InvokeMember("click")
              End If
        Next
 
Runescape Gamblingrunescape gambling
Back
Top