PC Review


Reply
Thread Tools Rate Thread

Check for another application running in Windows

 
 
Neil Robbins
Guest
Posts: n/a
 
      27th Feb 2004
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


 
Reply With Quote
 
 
 
 
CJ Taylor
Guest
Posts: n/a
 
      27th Feb 2004
System.Diagnostic.Processes


"Neil Robbins" <(E-Mail Removed)> wrote in message
news:uHNWPyV$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      27th Feb 2004
* "Neil Robbins" <(E-Mail Removed)> 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!
 
Reply With Quote
 
Neil Robbins
Guest
Posts: n/a
 
      28th Feb 2004
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]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:OPyBKLY$(E-Mail Removed)...
> * "Neil Robbins" <(E-Mail Removed)> 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!



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      28th Feb 2004
* "Neil Robbins" <(E-Mail Removed)> 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!
 
Reply With Quote
 
Neil Robbins
Guest
Posts: n/a
 
      28th Feb 2004
Thanks Herbert,

Have found what I needed.

Neil R

"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:u6Lvj9Z$(E-Mail Removed)...
> * "Neil Robbins" <(E-Mail Removed)> 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!



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      28th Feb 2004
* "Neil Robbins" <(E-Mail Removed)> scripsit:
> Thanks Herbert,

^^^^^^^
Who is Herbert?

SCNR

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      28th Feb 2004
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


 
Reply With Quote
 
Neil Robbins
Guest
Posts: n/a
 
      29th Feb 2004
Sorry, must get my eyes tested!

Thanks Herfried

"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:e#cSy$f$(E-Mail Removed)...
> * "Neil Robbins" <(E-Mail Removed)> scripsit:
> > Thanks Herbert,

> ^^^^^^^
> Who is Herbert?
>
> SCNR
>
> --
> Herfried K. Wagner [MVP]
> <http://dotnet.mvps.org/>
> Website Address Changed!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to Check whether the application is running or not..? kiran Microsoft C# .NET 1 30th Sep 2005 06:07 PM
Can you check if a DLL is running within a Windows Service or traditional application? Pdarroch Microsoft Dot NET Framework 1 5th Nov 2004 10:02 PM
Check whether specified application is running =?Utf-8?B?QnJ5YW4gR2Fu?= Microsoft Dot NET Compact Framework 2 11th Oct 2004 05:20 PM
Check whether an application is running pnp Microsoft C# .NET 3 7th Aug 2004 06:40 PM
Check if another application is running? WSF Microsoft Access Form Coding 1 18th Apr 2004 11:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.