The error I'm having from my thread is:
Cross-thread operation not valid. Control 'richTextBox8' accessed from a thread other than the thread it was created on.
I have this code I use for my List of string that is causing the error.
string[] parts = richTextBox8.Text.Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries);
Now I'm working with using System.Threading that requires to transform the code above into a format something like this code to work but I'm unable to do it or is there some other way?
richTextBox8.Invoke((Action)(() => richTextBox8.Text += "http://elibrary.judiciary.gov.ph/" + str + "\n"));
richTextBox8.Text
before you start the threaded operation - could you give us more context please?richTextBox8.Invoke((Action)(() => { /*do whatever you want */}));