473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to display running app's like in task manager

Hi,

I want to display all windows applications(not proceses) like in task
manager.
I haven't found any example of this either using WMI or
System.Diagnostics. How can it be done in c#?

Thanks.

Nov 17 '05 #1
1 1185
I am not sure if this is exactly what you are looking for, but the Process
class has property MainWindowHandle. The property is zero if there is no
window associated with the process and nonzero if there is a window. So if a
process with window is what you are looking for, you could use
Process.GetProcesses and then select only those that have MainWindowHandle
nonzero

"fperfect13" wrote:
Hi,

I want to display all windows applications(not proceses) like in task
manager.
I haven't found any example of this either using WMI or
System.Diagnostics. How can it be done in c#?

Thanks.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kate | last post by:
I received one additional piece of information which may help (doesn't help me, but maybe it will help someone help me): someone suggested that the application, or a part of it, begins running as...
2
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by...
29
by: pb648174 | last post by:
I have a very long transaction that runs on the same database that other users need to use for existing data. I don't care if they see data from the transaction before it is done and am only using...
3
by: Mrinal Kamboj | last post by:
Hi , I am doing some experimentation , so i created a winform exe , that on load event creates a NotifyIcon object for System Tray Icon . Now if i run that application normally by VS.net or...
3
by: TClancey | last post by:
Hi again, hopefully the last question for the damned application! I have one application that needs to load another, this may happen everytime the first app is started, or it may happen randomly....
3
by: rlntemp-gng | last post by:
RE: Access 2003/Excel 2003 Problem: After I close the Access application completely, I go out to the Task Manager and there is an Excel.exe object still sitting out there. My Access...
0
by: mogenses | last post by:
This is going to be a good one but may be easy for you experts. I have recently joined a tech support dept supporting an application using ACCESS 2.0 DATABASES and I believe written in Fox Pro. ...
4
by: Simon | last post by:
If I am running a long time query, how to show a wait page at then? Is there any recommended way to do it? Thanks.
2
by: bijukoshy82 | last post by:
Hi I am in process of developing a C# application to do some printing operations.For this i am using macros that was used previuosly in the VB version. Basically, this app will look for the docs...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.