I'm finding the background worker confusing. It will not allow me to write to a textbox in one of my functions. If I move the textbox.text into the BackgroundWork1_ProgressChanged it will allow it there, but doesn't do anything. If someone could explain it to me I'd greatly appreciate it.
Private Sub BackgroundWorker1_ProgressChanged(sender As Object, e As System.ComponentModel.ProgressChangedEventArgs) Handles BackgroundWorker1.ProgressChanged
txtImgCount.Text = ImageCount1
fileCount.Text = fCount
Label8.Text = statusText
RichTextBox1.Text &= (fileFilename)
RichTextBox1.Text &= (imgFilename)
Dim i As Integer
ProgressBar1.Minimum = 0
ProgressBar1.Maximum = 200
ProgressBar1.Value = e.ProgressPercentage
lblStatus.Text = CType(e.UserState, String)
lblStatus.Text = status & " " & e.ProgressPercentage.ToString & " % Complete "
End Sub