How would you open a file (that has a known file/app association in the registry) into a \"running instance\" of the application it\'s supposed to open in? An example would
First thing in the main method, check the process list for an existing instance of the application.
If found, send the filename/path to the already running instance using your favorite interprocess communication method (sending windows messages, remoting, wcf, etc.)
Close the new process that windows tried to start (since the existing instance already handled the file open operation