"Henry" <he********@nospam.nospam> schrieb:
I want to check for a Windows form program if an instance of the prgram is
already running: if yes the program's window should be activated and no
second program instance should be started.
Detecting another instance of the application:
<URL:http://www.yoda.arachsys.com/csharp/faq/#one.application.instance>
Bringing a window into the foreground (requires the window's handle, which
can be obtained by getting the process' 'Process' object and getting its
'MainWindowHandle' property value):
<URL:http://groups.google.de/groups?selm=%23gCaV7yaEHA.996%40TK2MSFTNGP12.phx.g bl>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>