473,387 Members | 1,553 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 recover tasks/process order?

Hi ,

i'm looking for code/method to get process list AND order of these processes
in task manager.

For instance , in task manager ( or on the windows task bar ) you have 5
applications , i would like to recover the order of these applications ( 1
to 5 )

I fould process list in System.Diagnostics.Process , but nothing concerning
the order as shown in task manager.

Any clue is welcome , VB.Net of possible

Thanks
Feb 1 '07 #1
2 1146
Stefan Caracas schreef:
Hi ,

i'm looking for code/method to get process list AND order of these processes
in task manager.

For instance , in task manager ( or on the windows task bar ) you have 5
applications , i would like to recover the order of these applications ( 1
to 5 )

I fould process list in System.Diagnostics.Process , but nothing concerning
the order as shown in task manager.

Any clue is welcome , VB.Net of possible

Thanks

Processes in the taskmanager are ordered by the process ID (PID). Maybe
there's a property in that class that holds the PID and you can sort on
that.

Rinze
Feb 1 '07 #2
Thanks. I'll study that.

I'm afraid i was not specific enough in my question , so i detail :

what i'm looking for is the application list that you obtain when pressing
ALT+TAB , and the focused application in this list.

Thank you
"C-Services Holland b.v." <cs*************@csh4u.nla écrit dans le message
de news: 7P******************************@zeelandnet.nl...
Stefan Caracas schreef:
>Hi ,

i'm looking for code/method to get process list AND order of these
processes in task manager.

For instance , in task manager ( or on the windows task bar ) you have 5
applications , i would like to recover the order of these applications
( 1 to 5 )

I fould process list in System.Diagnostics.Process , but nothing
concerning the order as shown in task manager.

Any clue is welcome , VB.Net of possible

Thanks

Processes in the taskmanager are ordered by the process ID (PID). Maybe
there's a property in that class that holds the PID and you can sort on
that.

Rinze

Feb 1 '07 #3

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

Similar topics

3
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it,...
2
by: Armand Federico - INFO | last post by:
How can i recover data from an html module? I have a form that send 3 or 4 text field I wanna to recover this data, to analyse, and process, and insert in MySQL (mod_python, Mysql4, Apache1.3)
4
by: chuy | last post by:
Is there a way to recover a lost password in Mysql 4.1. I have seen many articles and howto's on how to kill the Mysql process and then restart using skip grant tables option. I am not trying to...
2
by: Nate | last post by:
Hello, I am trying to recover a SQL Server 7 database from another hard disk drive that has a corrupted Windows 2000 Advanced Server installation. I am not able to repair the corrupted Windows...
3
by: Peter Strøiman | last post by:
Hi. I have a web application that needs to run tasks at regular intervals. E.g. it must send out emails every night to people who subscribe to that service. I have come up with one solution,...
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...
2
by: senthiltsj | last post by:
hi two days before arount 20,000 rows are manuly deleted, is there any way to recover it back. We have backup, that is 10 days old, Is there any way to recover only that 20,000 rows, Plz help...
1
by: Stefan Caracas | last post by:
Hi , i'm looking for code/method to get process list AND order of these processes in task manager. For instance , in task manager ( or on the windows task bar ) you have 5 applications , i...
0
by: mike_dba | last post by:
I have been testing the db2 recover command on a DB2 V8.2 Linux database. The database contains a single partition. I am not archiving logs but retaining them on disk. the backup image is to...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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.