title: Vb.Net Background Worker Updating UI Not Working
body: <p>I have a background worker that is supposed to be updating a <code>ToolStripLabel</code> with some status messages. However, the updating is not happening, but no errors are being thrown. Here's the code I am using:</p>
  
  <pre><code>Private Sub BackgroundWorker3_DoWork(sender As Object, e As DoWorkEventArgs) Handles BackgroundWorker3.DoWork
          BackgroundWorker3.WorkerReportsProgress = True
           Dim Counter As Integer = 0
  
          Do Until BW1Running = False
              Counter = Counter + 1
              Threading.Thread.Sleep(1000)
              Incident_Form.BackgroundWorker3.ReportProgress(Counter)
              If Counter &gt;= 100 Then
                  e.Result = False
                  Return
              End If
  
          Loop
  
          If BW1Running = False Then
              Counter = 100
              Incident_Form.BackgroundWorker3.ReportProgress(Counter)
          End If
      End Sub
  
  
  Private Sub BackgroundWorker3_ProgressChanged(sender As Object, e As ProgressChangedEventArgs) Handles BackgroundWorker3.ProgressChanged
  
      Me.ToolStripStatusLabel1.Text = e.ProgressPercentage.ToString
  
  End Sub
  </code></pre>
  
  <p>Nothing happens when the <code>ProgressChanged</code> is fired. I've debugged it and it'll print a line to the output window, but it will not update that label. Any ideas on what I'm missing?</p>