I spend around few hours to find something about my issue on Internet. But I have no idea what to write in Google... :/
So I thought maybe it will be better to write here.
I wrote an application which can save and open it own files. Then I added special registry key and now when I double-click on a file associated with my application, Windows (OS) opens my application and load the file. Most application work like this
and thats OK.
But what I want to do?
I want my application to be opened just once. So when I double-click on a file the application will start running and load the first file. But when I double-click on second file (during my application is already running) windows will open second application.
And I want to load this second file to already running application. What should I do??
PS - I am writing WPF application in Visual 2010 with .Net4.
View Complete Post