Window Handle
-
Hi All, I have Process ID(PID). Consider, Iam opening Word Document(a1.doc), It has a PID called 2010. Then, when i open another file (b1.doc) using the same window again, it shows same pid for both. How can i get differentiate both the files using the PID?.
Thanks & Regards Kumaran
-
Hi All, I have Process ID(PID). Consider, Iam opening Word Document(a1.doc), It has a PID called 2010. Then, when i open another file (b1.doc) using the same window again, it shows same pid for both. How can i get differentiate both the files using the PID?.
Thanks & Regards Kumaran
You can't. They're using the same process. A single instance of Word can open multiple documents at the same time, so there's only going to be one process ID.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007