InternetExplorer IE = null; ShellWindows m_IEFoundBrowsers = new ShellWindowsClass(); foreach (InternetExplorer Browser in m_IEFoundBrowsers) { Logger.Log("Hi I am StatusText :" + Browser.StatusText + ", Url name : " + Browser.LocationURL + ", HWND : " + Browser.HWND); if (Browser.HWND == IEPtr.ToInt32()) { IE = Browser; break; } } if (IE == null) throw new Exception("Error in creating Internet explorer instance");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)