المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to track the path of applications running in task manager?



C# Programming
08-28-2009, 08:53 AM
Using System.Diagnostics, I am able to track all the process and applications running in task manager.

Checked every blog, but there is no information about tracking the path of applications running in taskmanager's application tab.

I am getting path of process: using string q = Process.GetCurrentProcess().MainModule.FileName;

1. But for applications's path there is no option as such. Only name of the application can be tracked using "MainWindowTitle".

2. Even no of similar applications like if there are two excel applications are running then i want to find out the count but there is no option for MainWindowTitle count.

nyone knows about this, then please give me clue.

Thanks & Regards,
gtag