G
Guest
I'd like to prevent my app from running more than once. In VB6 this was
simple using PrevInstance. MSDN Library describes using
Diagnostics.Process.GetProcessByName to see if the the currently running
thread has another instance running. Works great as Adminstrator but throws
a SecurityPermission exception when run from a Windows account that only
belongs to BUILTIN\Users.
Is there a simple way to do this?
simple using PrevInstance. MSDN Library describes using
Diagnostics.Process.GetProcessByName to see if the the currently running
thread has another instance running. Works great as Adminstrator but throws
a SecurityPermission exception when run from a Windows account that only
belongs to BUILTIN\Users.
Is there a simple way to do this?