p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# 2005 (http://p2p.wrox.com/forumdisplay.php?f=138)
-   -   run application more than once!!!! (http://p2p.wrox.com/showthread.php?t=53911)

angelboy February 11th, 2007 03:39 PM

run application more than once!!!!
i have a desktop application
for each click the executed file ,an instance of app have benn runnig

i want my dont run app by clicking on the exec file when that is running

help me pleas

vampirekiss February 11th, 2007 10:10 PM

System.Threading.Mutex mutexMyapplication = new System.Threading.Mutex(false, "MyApplication");
if(!mutexMyapplication.WaitOne(100, false))

angelboy February 12th, 2007 03:53 PM

hi vampirekiss

i want to thank you for your help

best regards


All times are GMT -4. The time now is 03:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.