[.net] Opening a file in a running application window instead a new one...

Started by
1 comment, last by Krisc 16 years, 2 months ago
I want to be able to open a file in an application and then be able to open further files from the OS into that instance of the application. I can get the process that is running and make sure that only one instance runs, but am having trouble sending it the file to open. I am using WinForms, but can use the .net 3.5 stuff.
Advertisement
There are several different ways to do this. One option is here, which leverages some things built for Visual Basic .NET that you can still access from other .NET languages. You can also try use WM_COPYDATA, named pipes or other IPC mechanisms.
That first link did the trick! Thank you very much!

This topic is closed to new replies.

Advertisement