I have an application in which many IE applications are opened. When I close my application some orphan IE processes are left in the task manager. I want to kill all the orphan IE processes without affecting other IE windows opened outside my application. I tried finding all IE processes and killing all processes which have their window handle 0 or window title null but by doing this IE crashes. Please help me out
Asked
Active
Viewed 104 times
0
-
That depends on how you opened IE to begin with. Are you sure this isn't a duplicate of: http://stackoverflow.com/questions/11346533/how-to-close-internet-explorer-when-it-has-been-ran-with-process-start – Abe Fehr Sep 20 '14 at 16:01
-
Actually in my application some IEs are opened using the shDocvw and some IEs are opened by starting a new process. – Stacked Sep 20 '14 at 16:09
-
I tried process.close() and process.closemainwindow() but the processes does not stop. And by killing the processes the IE crashes – Stacked Sep 20 '14 at 16:17