PC Review


Reply
Thread Tools Rate Thread

Buliding a program similiar to "task manager" in windows

 
 
G_Zola
Guest
Posts: n/a
 
      13th May 2005
Suppose a process notepad.exe has started. I like to know how to detect a period of inactivity of a user for that process, for instance how long the user has not entered anything into notepad.Maybe System.Diagnostics can solve this problem but i did not find much information on the websites.Hope to gather some advice here.

Thanks a lot

From http://www.developmentnow.com/g/6_0_...-framework.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
 
Reply With Quote
 
 
 
 
Lloyd Dupont
Guest
Posts: n/a
 
      13th May 2005
I think you've to look at something like:
System.Diagnostics.PerformanceCounter

The only thingh I found kind of frustrating last time I used them, is that
some stage you have to use counter name.
And to find name for existing counter (such as the one used by the task
manager) it's quite poorly documented...

"G_Zola" <(E-Mail Removed)> wrote in message
news:dc4ec520-815b-4cee-9781-(E-Mail Removed)...
> Suppose a process notepad.exe has started. I like to know how to detect a
> period of inactivity of a user for that process, for instance how long the
> user has not entered anything into notepad.Maybe System.Diagnostics can
> solve this problem but i did not find much information on the
> websites.Hope to gather some advice here.
>
> Thanks a lot
>
> From http://www.developmentnow.com/g/6_0_...-framework.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com



 
Reply With Quote
 
G_Zola
Guest
Posts: n/a
 
      16th May 2005
Do you mean every process eg notepad.exe has a performance counter to track if the user has been idle for some time?
If so do you know where to get this list

From http://www.developmentnow.com/g/6_20...-in-windows.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
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
"1 program running" next to user icon but Task Manager applications is empty John Richards Windows XP Help 3 8th Aug 2006 01:03 PM
"performance" in windows task manager."cpu" is unusually high davidd_45 Support 17 1st Aug 2006 09:43 PM
Re: building a program similiar to "task manager" Lebesgue Microsoft Dot NET 1 17th May 2005 06:40 AM
Re: building a program similiar to "task manager" Yunus Emre ALPÖZEN [MCAD.NET] Microsoft C# .NET 0 15th May 2005 03:40 PM
any program similiar to "ERD Commander 2003" ? *ProteanThread* Freeware 4 1st Sep 2004 01:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:57 AM.