I want to close a newly opened Internet Explorer using the mshtml.
I have a program , which takes values from different IE Window. The navigation to each Window is invoked using the Click() method of element. Once process the page, I want to close the Window.
Any one know how to close the window using the Mshtml.
thanks in advance Unni
Easy: Get the
HWND
fromIWebBrowser2
, and send it aWM_CLOSE
.