HOWTO: find the process an object belongs to

  • Thread starter Thread starter ChrisBowringGG
  • Start date Start date
C

ChrisBowringGG

Hi,

does anyone know how to find the System.Diagnostics.Process an
object belongs to? The object could be a COM object.

Thanks,

Chris.
 
Hi,

does anyone know how to find the System.Diagnostics.Process an
object belongs to? The object could be a COM object.

Thanks,

Chris.

Hummm... tell us more about what you're trying to do. There is a way
to get all of the open files in a system... so you'd be able to work
backwards (find the file, get the PID that's got it open).

I've got a "demo" project written in VB.Net that I've placed
(temporarily) at http://home.hot.rr.com/graye/Temp/OpenFiles.zip
 
Back
Top