Вопрос

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

id="meterNumber">30%<
Это было полезно?

Решение

See HtmlDocument.GetElementById.

MsgBox(WebBrowser1.Document.GetElementById("meterNumber").InnerText) 
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top