Question

I want to show "30%" in a MessageBox. How can I get this information from an element in a WebBrowser?

id="meterNumber">30%<
Était-ce utile?

La solution

See HtmlDocument.GetElementById.

MsgBox(WebBrowser1.Document.GetElementById("meterNumber").InnerText) 
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top