Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Hello House, please how do I make C# windows application to run only one instance after creating setup?
Posted
Comments
[no name] 19-May-13 13:44pm    
http://www.google.com/search?q=%22C%23%22+single+instance although I do not understand what you think creating a setup has to do with single instance applications.
Sergey Alexandrovich Kryukov 19-May-13 14:12pm    
This is not as simple as it may seem. Many solutions are not satisfactory, and it's hard to find a better one.
So, please see my answer.
—SA
[no name] 19-May-13 14:21pm    
Well more power to you if your guess is correct. I do not see anything anywhere in the "question" that has anything at all to do with command line processing or passing command line to already running instances of applications. All I see is "make C# windows application to run only one instance" which is very easy to do and some nonsense about a setup.
Sergey Alexandrovich Kryukov 19-May-13 14:53pm    
This is not just about extra power, it's about everything else, explained. Anyway, thanks for reading my posts.
—SA
Sergey Alexandrovich Kryukov 19-May-13 14:14pm    
Good question, but it has nothing to do with setup. There is no such option, so your application itself should implement this behavior.
I answered in detail.
—SA

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900