help!!getting opened explorer instances

how to get the list of opened tasks.i hav got some of the tasks from processes using mainwindowtitle property but i m nt getting the opened folder windows minmised in taskbar.

i used:
for each p as process in process.getprocesses()

messagebox.show(p.processname)

next

but through this i m only getting processes but as opened folder is a part of explorer.exe process so i m nt getting them in the list.like in taskmanager in application tab u get the list of opened folder as wel as apps.so i m getting apps but nt folders




Answer this question

help!!getting opened explorer instances

  • Jayakumar A

    explorer.exe is different to what you maybe referring to - you are referring to application tasks, well, this is what Task Manager defines it as. It's hard to explain, yes it is Explorer that is showing you the folders and the desktop etc...

    I cant find anything in the .NET Framework which will be of some use to what you may be after but I will dig around and see what I can find.



  • Prashweenet

    opening a folder is not a process (in the .NET world). a process is defined as a program running.

  • dakota367

    then how can we see the opened explorer.exe instances.

  • Neil Ault

    Thanx!

    but stil searching for tht.



  • Nodnarb501

    Check out the sample "Creating a process viewer" in the 101 Samples for Visual Studio 2005 it excercises most of what you can glean from processes...see if it has what you are looking for...


  • help!!getting opened explorer instances