0
Answer

Process Exits Unexpectdly

Andrew

Andrew

15y
2.2k
1
Hello,

I am trying to start an Internet Explorer process in C# using the System.Diagnostics.Process.

When no other IE windows are open, I am able to get the process id programatically.
However, If I try to start a new iexplore.exe process within C# while existing IE windows not created by my program are present, a new IE window loads but I am not able to read the process ID and the process immediatly terminates.

Does anyone know why this happens?