Hello everyone, I have a multi-threaded VB.NET application. When the application starts a main form is loaded. Inside the load event, there is code that starts another thread. On this thread, a form is instantiated, and moved off the screen so that the user cannot see it. This form will run in the background and appear periodically when the user input is needed. Although the form is not visible to the user, it still has focus, because it was started last in the thread process. My question is, how can I return focus back to the main form that instantiated the new thread? Any ideas? I assume it would be like jumping from one application to another by clicking on the item in the start bar, but I don't know how to do it programmatically. Thanks for the help.
Randy Belcher
AFG Industries, Inc.