Running a single copy of the application

  • Thread starter Thread starter Alexander Vasilevsky
  • Start date Start date
A

Alexander Vasilevsky

That is, if the application is already running, and it gets repeated again,
what would not start a second copy.

http://www.alvas.net - Audio tools for C# and VB.Net developers
 
Hello Alexander,

Use "global" mutex to have single copy of your app. Use MSDN to find detailed
info about global mutex

btw, u can find samples in this article http://codeproject.com/KB/cs/singleinstanceapplication.aspx


---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


AV> That is, if the application is already running, and it gets repeated
AV> again, what would not start a second copy.
AV>
AV> http://www.alvas.net - Audio tools for C# and VB.Net developers
AV>
 
Back
Top