473,395 Members | 1,763 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,395 software developers and data experts.

Task list

Hi,

Just for fun, I'd like to write a program to monitor the list of all tasks
running on the system. How do I retrieve a list of tasks executing on the
system?

Thanx,
Bill
Nov 16 '05 #1
1 2312
Got it.

procs=Process.GetProcesses();
Console.WriteLine("Process Count= {0}", procs.GetLength(0));
for(int si=0;si<procs.GetLength(0);si++)
{
Console.WriteLine("Process name: {0}", procs[si].ProcessName.ToString());
}
Nov 16 '05 #2

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

Similar topics

3
by: Mark Preuss | last post by:
Hi all, Anybody seen where if after a Build with errors the Task List won't pop up when you click on the tab? I have to shut down the whole IDE to get it to come up. This is in VS.NET 2003. I...
1
by: Rupert Street | last post by:
I would like to set up a task scheduler in a database but I am not sure how to go about it. I would like to have a list of things that need to be attended to for out clients eg. report being sent,...
1
by: Tom | last post by:
I've forgotten how to add a particular line to the task list in vs2003 before there was a context menu that you can click on to add something to task and come back to later.. but now I can't find...
1
by: Andrew Chan | last post by:
Hi, I am using C++ in Visual Studio .Net and I just discovered that I can use /TODO to setup a task list which is great for me who have poor memory. However, I can only view individual task list...
4
by: PJSimon | last post by:
I have added task list items to my VB.Net project. After checking the project into source safe, another user gets the latest version. When the other user opens the project, the task list is empty....
0
by: Chris Dunaway | last post by:
I use 'TODO's to add items to the task list to remind me of things that I need to do. I right click the task list and choose Show Tasks > All so that all items are shown. This works fine. ...
6
by: Marcus | last post by:
Hi, I am a newbie at C#. Here is my current problem: I want my application to iterate through the list of tasks presented in task manager. I want it to look at the task names and if a certain...
0
by: Zytan | last post by:
Well, I used to use DEBUG as a Task List token, but now I cannot, since whenever I comment out a Debug.WriteLine, it gets added to the list! So, what do you guys use for a Task List token for...
1
by: The Facilitator | last post by:
Hello all, I am trying to find out what the field is in Outlook that holds all the people's email addresses for when the final completed task report is sent. Where is it and how can I access it...
0
oll3i
by: oll3i | last post by:
import javax.swing.*; import java.awt.event.*; import java.util.ArrayList; import java.util.List; import java.util.concurrent.*; import java.lang.reflect.*; public class Exec1 extends JFrame...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.