title: How to change textbox.text while in backgroundworker?
body: <p>I just want to change an textbox text while I am in the backgroundworker.
  What I have is:</p>
  
  <pre><code>Private Sub ...
  
   Dim powershellWorker As New BackgroundWorker
          AddHandler powershellWorker.DoWork, AddressOf BackgroundWorker1_DoWork
  
          powershellWorker.RunWorkerAsync()
  
  End Sub
  
  Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
  
   If stuff &lt;&gt; "lol" Then
              test.Text = stuff
  
  End Sub
  </code></pre>
  
  <p>It gives me the error: "Invalid thread -border operation" (google translated)</p>