Click here to Skip to main content
15,867,308 members
Articles / Programming Languages / C#
Alternative
Tip/Trick

Run only one instance from you program

Rate me:
Please Sign up or sign in to vote.
4.67/5 (2 votes)
27 Sep 2010CPOL 5.2K   2  
Ever heard of Microsoft.Samples.ApplicationFramework? That's far better, since the newly started application will connect to the running application, and command line arguments will be passed to it.Take a look here: Real World Applications Sample, Part 1:..., Single Instance, ...[^]
Ever heard of Microsoft.Samples.ApplicationFramework? That's far better, since the newly started application will connect to the running application, and command line arguments will be passed to it.
Take a look here: Real World Applications Sample, Part 1:..., Single Instance, ...[^]

License

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


Written By
Software Developer (Senior)
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --