472,796 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 software developers and data experts.

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 3268
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
27
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
2
by: Chris Podmore | last post by:
I don't know if this is the correct newsgroup but I couldn't find one for Windows Services Is it possible to check that a Windows Service is still running from another machine The idea being a...
3
by: Henry | last post by:
oHi, 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....
7
by: Sameh Ahmed | last post by:
Hello there IsInrole gives ya the means to check if the current or impersonated user belongs to a specific windows role or group. is there a way to do the same without using ADSI to check if...
5
by: Vijaya P Krishna | last post by:
Hi, I have a .NET Windows Forms application, written in VB.NET and C#. I am opening a URL from the application using Process.Start(). The URL points to a java servlet running on apache-tomcat....
12
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
4
by: Tenacious | last post by:
I need to add to my server application the ability to receive up to 30K of XML data from a client application. I know I can use an XmlTextReader() to receive the data and put it into the cache....
7
by: =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post by:
I have a windows application with multiple forms & another web application. Now I need a parent EXE or Application which need to act as a container to these application. Example : My existing Web...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.