Hi jaime, unfortunately that has the same side effects :(
The first instance returns fine. But trying to launch additional instances returns wrong PID. It's like IE is magically changing the PID. I think its the new crash dump feature thats giving this behavior but I am just shooting in the dark with that.
Main Topics
Browse All Topics





by: jaime_olivaresPosted on 2009-08-02 at 17:14:38ID: 25001247
have you tried with the following?:
(instance. ProcessNam e)[0].Id;
Process instance = new Process();
instance .StartInfo.FileName = "C:\Program Files\Internet Explorer\iexplore.exe");
instance .Start();
int PID = Process.GetProcessesByName