Sign in to follow this  
Krisc

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

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this