468,103 Members | 1,265 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

Check for another application running in Windows

I'd like to know how to check whether another application is running in
Windows on the same computer from my application so I can perform an action
if it is. Could anyone suggest where helpful material might be found, or
suggest some code?

All help appreciated

Neil R
Nov 20 '05 #1
8 3062
System.Diagnostic.Processes
"Neil Robbins" <ne**@talent-centre.com> wrote in message
news:uH**************@TK2MSFTNGP11.phx.gbl...
I'd like to know how to check whether another application is running in
Windows on the same computer from my application so I can perform an action if it is. Could anyone suggest where helpful material might be found, or
suggest some code?

All help appreciated

Neil R

Nov 20 '05 #2
* "Neil Robbins" <ne**@talent-centre.com> scripsit:
I'd like to know how to check whether another application is running in
Windows on the same computer from my application so I can perform an action
if it is. Could anyone suggest where helpful material might be found, or
suggest some code?


A specific other application? Have a look at the
'System.Diagnostics.Process' class.

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
Nov 20 '05 #3
Thanks for the responses,

Does anyone know where any documentation or examples of how to use this
class can be found?

Help always appreciated

Neil R

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OP**************@TK2MSFTNGP11.phx.gbl...
* "Neil Robbins" <ne**@talent-centre.com> scripsit:
I'd like to know how to check whether another application is running in
Windows on the same computer from my application so I can perform an action if it is. Could anyone suggest where helpful material might be found, or
suggest some code?


A specific other application? Have a look at the
'System.Diagnostics.Process' class.

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!

Nov 20 '05 #4
* "Neil Robbins" <ne**@talent-centre.com> scripsit:
Thanks for the responses,

Does anyone know where any documentation or examples of how to use this
class can be found?


<http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdiagnosticsprocessmemberstopic.asp>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
Nov 20 '05 #5
Thanks Herbert,

Have found what I needed.

Neil R

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:u6**************@TK2MSFTNGP09.phx.gbl...
* "Neil Robbins" <ne**@talent-centre.com> scripsit:
Thanks for the responses,

Does anyone know where any documentation or examples of how to use this
class can be found?

<http://msdn.microsoft.com/library/en...mdiagnosticspr
ocessmemberstopic.asp>
--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!

Nov 20 '05 #6
* "Neil Robbins" <ne**@talent-centre.com> scripsit:
Thanks Herbert,

^^^^^^^
Who is Herbert?

SCNR

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
Nov 20 '05 #7
Cor
Did you ever told that you can translate it as

Sir Peace

(Herr Frieden)
Now I do so you do not have to do it anymore.

Maybe they remember it than.

It is not to believe, when I type Herfried on Google I get your page as
first.

:-)

Cor
Nov 20 '05 #8
Sorry, must get my eyes tested!

Thanks Herfried

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:e#**************@tk2msftngp13.phx.gbl...
* "Neil Robbins" <ne**@talent-centre.com> scripsit:
Thanks Herbert,

^^^^^^^
Who is Herbert?

SCNR

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!

Nov 20 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Chris Podmore | last post: by
7 posts views Thread by Sameh Ahmed | last post: by
12 posts views Thread by tshad | last post: by
4 posts views Thread by Tenacious | last post: by
7 posts views Thread by =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.