日期:2014-05-19  浏览次数:21022 次

winfrom 怎么从webbrowser获得指定变量的值
winfrom   怎么从webbrowser获得指定变量的值

------解决方案--------------------
遍历Web上的节点,举例如下,遍历所有的超链接节点。

Dim htmlDoc As HtmlDocument = webBrowser.Document
For Each htmlEle As HtmlElement In htmlDoc.All
With htmlEle
Try
If .TagName = "A " Then
'TODO
End If
Catch ex As Exception

End Try
End With
Next