Hi ,
if we click on .exe file ,it opens the application and runs it,if i click on it again another application will be opened
My requirement is that the .exe file sholud not open the another aplli when one appli is running
plssss tell me the code to write the above requirement
thanks,
pramod
StefanPosted Mar 13, 2009, 1:06 PM
Follow this link: http://www.codeproject.com/KB/cs/SingleInstanceAppMutex.aspx
This shows how to prevent multiple instances of one application.
Here's another: http://dotnetperls.com/Content/Single-Instance-Windows-Form.aspx
...and another: http://msdn.microsoft.com/en-us/magazine/cc163741.aspx
Vijaya KadiyalaPosted Mar 13, 2009, 2:01 PM
Hi
Check out the below link
http://en.csharp-online.net/Application_Architecture_in_Windows_Forms_2.0%E2%80%94Single-Instance_Detection_and_Management
Thanks -- Vijaya Kadiyala
http://dotnetvj.blogspot.com