Is there a way to get a link to a program that is currently running so you can list it?

What if I wanted a list of all programs and web pages that I currently have open, and a list in URL format that I could click on (not to re-launch the program, but to access it). Sort of like how Task Manager displays running applications.

How could I do that if possible? Is that available in WIN API?  Also some code in VB.NET or C# would be cool.

Thanks.
LVL 1
harmonoAsked:
Who is Participating?
 
Shahan AyyubConnect With a Mentor Senior Software Engineer - iOSCommented:
Hi!

Kindly go through this link:
http://msdn.microsoft.com/en-us/magazine/cc163900.aspx

you will find this code(given below) in first code block, that will find the running processes:
Process [] runningProcesses = Process.GetProcesses(machine);

Open in new window


Check the link and tell us what is next you need help. It would be better if you come up with an example to express your requirement more clearly.

0
 
harmonoAuthor Commented:
Just what I was looking for.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.