I'd like to be able to start a background thread that can raise events on the main thread. I know it's possible to effectively do this by calling Invoke() (or BeginInvoke()) on a form/control from within the code running on the background thread. But can this be done without a control object handling the switch from background thead to UI thread? For example, what if I need this behavior in a console application.
I've also read that vb.net 2005 will support a BackgroundWorker class to simplify the interaction with a background thread, but my understanding is that this too will utilize a control object. I'm somewhat new to vb.net, so perhaps it's possible to add a control to a console application anyway?