Dim allelem As HtmlElementCollection = WebBrowser1.Document.All For Each webelem As HtmlElement In allelem If webelem.GetAttribute("id") = "div" Then Dim logtext As String = webelem.InnerText Dim loghtml As String = webelem.InnerHtml RichTextBox1.Text = logtext RichTextBox2.Text = loghtml End If Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)