I'm a novice to programming. Am happy to be here. This is my first post in a forum and happy to be here.
My question is regarding how can i get a list of all applications in Task Manager in Applications Tab.
I used System.Diagonistics.Process class and used the condition p.mainWindowTitle.Length >1 to get main window title of all processes.
But certain processes may have multiple windows in my case. You can see it by opening calc in windows and going to Help -> Help topics
Now when i use the above class, i couldn't get the handle of this help window.. But it'll be present in task manager list. Both calculator and calculator help are from calc.exe process...
Is there anyway to get all windows associated with a single process..??

Suthish NairRank #92 · 22.8K reputationPosted Jan 27, 2011, 7:12 AM EST
Dim prsLink() As Process = System.Diagnostics.Process.GetProcesses() For Each proces As System.Diagnostics.Process In prsLink If proces.ProcessName = "HelpPane" Then proces.Refresh() If Not proces.HasExited Then proces.Kill() End If End If NextSriram Krishnan7 reputationPosted Jan 27, 2011, 7:31 AM EST
Suthish NairRank #92 · 22.8K reputationPosted Jan 27, 2011, 7:37 AM EST
Sriram Krishnan7 reputationPosted Jan 27, 2011, 7:40 AM EST
Sam HobbsRank #108 · 20.5K reputationPosted Jan 27, 2011, 9:54 AM EST
What you want to do is to enumerate top-level windows; see How to: Implement Callback Functions for a simple sample.
Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 8:22 AM EST
So other members can easily find the answers.
T S2 reputationPosted Aug 23, 2011, 10:09 PM EDT