Populate listbox in a thread in .net
An old topic but still developers asking me same… so a blog.
If you try to use a textbox or any other control in side a thread, you will get an error like this:
Cross-thread operation not valid: Control ‘textBox1′ accessed from a thread other than the thread it was created on.
To avoid that, you need [...]












