I tried making a For iterator to check the values of an array, but it checks them 2 times!

Recommended Answers

All 2 Replies

post your code please.

Dim Users As HtmlElement
            Dim Element
            Users = WebBrowser1.Document.GetElementById("content")
            For Element = 0 To Users.Children.Count - 1
                If Users.Children.Item(Element).TagName() = "DIV" Then
                    MsgBox(Element & ": " & Users.Children.Item(Element).GetAttribute("className"))
                End If
            Next

=o

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.