
Directly referencing an element on a web page in the WebBrowser control
The standard is to use ID but I think IE/WB will also
recognize NAME. The element has to have NAME or ID
attribute in the tag:
for a sub:
Sub Button1_onclick()
End Sub
Use in tag:
<INPUT TYPE="button" ID="Button1" NAME="Button1>
--
--
Quote:
> I would like to change the value of an element in an HTML page
> returned by the WebBrowser control. I can do so by iterating through
> the elements collection but the documentation indicates that I could
> use the element name to refer directly to the element. What is the
> syntax for that?