View Single Post

  #6 (permalink)  
Old 05-04-2007
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: Finding MapPoint process

Hi,

I'm not sure.

Code:
Process[] processes = Process.GetProcessesByName("MapPoint");
foreach (Process proc in processes)
    if (proc.Handle == app)
But I'm not sure if the handle of the process is the same as the value of app. It can be the address of it. So if not I'm stuck as well.

Second thing is the memory application. proc has several properties for that. PagedMemorySize, NonPagedMemorySize etc...
Reply With Quote