How would I do this?
Printable View
How would I do this?
We're gonna need a lot more information before you'll get any useful response. I'm not sure what you mean by module, but it almost certainly isn't a VB.NET module, as that would have no impact on the rest of the question. Other than that, look for any post by JM (if you know who that is), and check the link in his signature on delegates, as a background thread can't directly influence controls.
As Shaggy suggested, follow the Controls & Multi-threading link in my signature. As Shaggy also suggested, whether the code being executed in the worker thread is part of a class, structure or module makes no difference whatsoever.