Running a single copy of the application

  • Thread starter Alexander Vasilevsky
  • 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
 
M

Michael Nemtsev [MVP]

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top