A
agro_r
I don't want more than one instance of my program running in a
particular user. How can I do that in .NET?
Thanks a lot...
particular user. How can I do that in .NET?
Thanks a lot...
Klaus H. Probst said:using System.Diagnostics;
Process.GetProcessesByName(Process.GetCurrentProcess.ProcessName)
If the returned array length is not zero then you have a previous instance.