>I have an application that runs as a top level form and is designed to be launched from a command button from various screens throughout our app. I want to make sure that the top level form cannot be launched multiple times, and make sure that it's closed before the use can exit the screen that it was launched from. It is running as a top level form because it opens up on the user's 2nd monitor.
>
>I've gotten some Win32API examples that will do this. Is this the best way to go?
Inside your application you can simply manage it using form's manager. If you want to make sure you only call one version of your executable, then Windows API calls would be good for the job (testing only one version of app is running).
If it's not broken, fix it until it is.
My Blog