R
rc
I am trying to iterate through the elements of a HTML
document loaded in a WebControl on a WinForm. I have
found many exemples and most of them are like the
following piece of code. Unfortunally this only catch the
tags HTML, STYLE, SCRIPT, HEAD and TITLE. I need to get
all the elements on the page specially the INPUT tags.
What am I missing?
Dim htDoc As mshtml.HTMLDocument
Dim oTags As Object
htDoc = webBrowserControl.Document
For Each oTags In htDoc.All
MsgBox(oTags.tagName)
Next
htDoc = Nothing
document loaded in a WebControl on a WinForm. I have
found many exemples and most of them are like the
following piece of code. Unfortunally this only catch the
tags HTML, STYLE, SCRIPT, HEAD and TITLE. I need to get
all the elements on the page specially the INPUT tags.
What am I missing?
Dim htDoc As mshtml.HTMLDocument
Dim oTags As Object
htDoc = webBrowserControl.Document
For Each oTags In htDoc.All
MsgBox(oTags.tagName)
Next
htDoc = Nothing