title: Creating a webbrowser control in a background thread in backgroundworker
body: <p>Is it possible to create a WebBrowser control in a background thread in BackgroundWorker?</p>
  
  <pre><code>Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
      Using web1 As New WebBrowser
  
      End Using
  End Sub
  </code></pre>
  
  <p>This throws the following error:</p>
  
  <blockquote>
    <p>ActiveX control
    '8856f961-340a-11d0-a96b-00c04fd705a2'
    cannot be instantiated because the
    current thread is not in a
    single-threaded apartment.</p>
  </blockquote>
  
  <p>Does anyone know a way to create a background WebBrowser? I would like to do it to extract  info from websites then spit out the various HTML DOM arrays</p>