you can declare a webbrowser control in code + use it without adding it to a form:

vb Code:
  1. Dim wb As New WebBrowser
  2. wb.DocumentText = "your html string"
  3. Dim doc As HtmlDocument = wb.Document