TheGuy831 0 Light Poster

Hi been trying to click on a button..
SnapCrab_NoName_2016-9-18_17-32-55_No-00.png

heres the code from html webDocument
SnapCrab_NoName_2016-9-21_20-35-31_No-00.png

within WebBrowser control.. Please Help.. Thank You..
Heres my code so far..

Dim theElementCollection As Windows.Forms.HtmlElementCollection = Nothing
        theElementCollection = WebBrowser1.Document.GetElementsByTagName("a")
        For Each curElement As HtmlElement In theElementCollection
            If curElement.GetAttribute("id").Contains("remove-over") Then
                curElement.InvokeMember("click")
            End If

        Next

Please Help....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.