Hi,
You can use the DOM that is build in to the Web Browser control and edit the document as you would using client side scripts. Here is an example that demonstrates how you can change the text in the tickerLine pre element.
Dim browser As New System.Windows.Forms.WebBrowser
browser.Navigate(
"about:blank")
browser.Document.Write(
"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><style>.ticker {font: bold 26px sans-serif;color: blue;} </style></head><body onload='init();'><pre class='ticker' id='tickerLine'>Hello World.<br></pre></body></html>")
Console.WriteLine(browser.Document.GetElementById("tickerLine").InnerText) 'display the Hello World
browser.Document.GetElementById("tickerLine").InnerText = "Goodbye" 'change the Hello World to Goodbye
Console.WriteLine(browser.Document.GetElementById(
"tickerLine").InnerText) 'display the change
Console.ReadLine()
If you are already displaying the document in a web browser then you don't need to worry about setting the browser up. Just make calls against the browser.Document object.