473,806 Members | 2,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3336
System.Diagnost ic.Processes
"Neil Robbins" <ne**@talent-centre.com> wrote in message
news:uH******** ******@TK2MSFTN GP11.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.Diagnos tics.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******** ******@TK2MSFTN GP11.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.Diagnos tics.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/frlrfsystemdiag nosticsprocessm emberstopic.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******** ******@TK2MSFTN GP09.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
ocessmemberstop ic.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#******** ******@tk2msftn gp13.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
3774
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 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
27
2564
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: Mensaje de error del analizador: We can't load the type 'JULIAN.Global'.
2
5933
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 couple of machines will be running my Windows Services to handle certain parts of our application, these machines will be located in the server room. I would like to create an application that runs on one of the users PC's that checks that these...
3
2958
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. How can I perform this task in VB.Net? Thanks in advance. --
7
5606
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 "domain\user" belongs to "domain\group"? the reason is, when getting the "memberof" property of a user, then checking if it contains the desired group or not. this will only work if the user is a member of the group itself but not when he is a member...
5
2640
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. For some users the application shows an error dialog with following information. Another very interesting observation is that it's sending a lot of requests to the servlet within no time. Please note that this is not happening for all users.
12
14543
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 check to see if the status is in stopped or running mode. But that doesn't tell me if it is actually running. I need to know this so that if it happens I can programmatically start the same service on another machine.
4
1354
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. What I am mostly not sure about is how the server is supposed to know that a client is wanting to connect and is ready to send data. Do I set up a polling thread in the server to check for a connect request or is there a better way?
7
4852
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 application : http://localhost/MyApp/Default.aspx My existing Win Application : existingWinApp.exe New Parent WinApp : NewWinApp.exe My new winapp will have a menu & below which I will have a form holder.
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.