title: How to get a text from HTML using span ID in VB.NET (Visual Basic 2010)?
body: <p>How do I get a string from an HTML document using span ID in VB.NET (Visual Basic 2010)?</p>
  
  <p>I am working on a project, and I wanted to extract text from a webpage span to my application's <code>textbox1.text</code>. I only used this so far:</p>
  
  <pre><code>TextBox1.Text = WebBrowser1.Document.All.GetElementsByName("***I put the span id here, but it didn't work.***")(0).InnerText
  </code></pre>