locked
C# experts Plz Help RRS feed

  • Question

  • hi the problem is
    when i run my windows application by clicking exe file it's runing "ok"
    but if i click the 2nd time on the exe file it will run once gain i want to remove this thing
    means if my windows application is already runing so that exe file should be disable or
    give us the message box your software is already runing.
    i got sum idea like (system.dignostics.process ) but i dnt know the exactly method i will be thankfull if any one will help me in this feture>>>....
    thanks
    DK

    Monday, August 10, 2009 8:22 PM

Answers

All replies

    • Marked as answer by nobugz Tuesday, August 11, 2009 1:39 PM
    Monday, August 10, 2009 8:28 PM
  • there is an error came when i appliad 1st method (" m does not exist in current context
    Monday, August 10, 2009 8:45 PM
  • Change it to Mutex m instead, you might want to pickup a C# language reference guide to help with you with basic stuff like this.

    Monday, August 10, 2009 8:48 PM