title: How do I use MSHTML in VB.NET?
body: <p>In the answer to question #<a href="https://stackoverflow.com/questions/56107/what-is-the-best-way-to-parse-html-in-c">56107</a>, Erlend provided this sample c# code:</p>
  
  <pre><code>using mshtml;
  ...
  object[] oPageText = { html };
  HTMLDocument doc = new HTMLDocumentClass();
  IHTMLDocument2 doc2 = (IHTMLDocument2)doc;
  doc2.write(oPageText);
  </code></pre>
  
  <p>I'd like to use mshtml in VB.NET, but the IDE doesn't recognize this:</p>
  
  <pre><code>Imports mshtml
  </code></pre>
  
  <p>What additional steps do I need to take to use MSHTML in VB.NET?</p>