C#: how to detect window application is running and not launch the same application again?


we have winform application (.net framework 3.5). sometime winform application is running in calling hide();

if user click on ~.exe again, need know if winform application running, if so,

1) should not launch application again.

2) , should show running winform hide() show().

how achieve that? thx!


janec


single instance application implementation been described here by scott and it's easy follow.

please click "mark answer" if serve purpose.\n regards, nairs



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

How to fix error Msg 1801, Level 16, State 3, Line 1

How to Share webservice object to all user