Problem With IE7 On Browser Window Close
There is almost always a workaround. I use VS2015, C#, Windows10 Thanks for your great suggestion. Here are the steps. You may not have seen the words below stating the complete code on this very page and the complete script which does open it [copied from this example above]: Try this http://osuweb.net/internet-explorer/can-not-close-ie-normally.php
Then, in the outer process, use the TerminateProcess() system call to forcibly close IE. Be sure to click the ‘Open in New Window/Tab' button on the page to open a new popup window, and then click the ‘Close This Window/Tab' button on the newly opened share|improve this answer answered Sep 11 '08 at 23:05 Bill Ayakatubby 8621127 add a comment| up vote 0 down vote Place the following code in the ASPX.