Running a BGW - when it starts a change a label to "Running Task," when the BGW is done I want to change the text to "Done with task." I assumed this could be done in the BGW_RunWorkerCompleted(), but it is not working andOr I am wrong. Thanks for the correction in advance...
Private Sub BackgroundWorker1_RunWorkerCompleted(ByVal sender As Object, ByVal e As System.ComponentModel.RunWorkerCompletedEventArgs) Handles BackgroundWorker1.RunWorkerCompleted
If Not (e.Error Is Nothing) Then
ElseIf e.Cancelled Then
lblResult.Text = "Cancelled"
lblResult.Text = "Done"
SaveToolStripMenuItem.Enabled = True
ProgressBar1.Value = 0