I have sucessfully implemented the backgroundworker / report progress on a number of tasks by updating the report progress within a loop.
However, when I am writing to a text file from a Rich Text Box, I cannot report progress because I am not looping through the records (because this takes too long).
Instead I am using the following code:
Dim objwriter As New StreamWriter(Filename)
How do I report progress without going through a loop and writing line by line?