this's the error when I run the program "Cross-thread operation not valid: Control 'listBox1' accessed from a thread other than the thread it was created on." please help me this's my code, it's simple
You should not access the UI elements in the DoWork handler. Then how do I access the UI elements? The below article helps you in understanding that.. Look how the progress bar and vowel count meter is accessed.