public void Initialize() { try { WindowProc.KillProcess("iexplore"); ie = new SHDocVw.InternetExplorer(); } catch (Exception ex) { SharpLog.Error("WebProcInit", ex.ToString()); } }
public void Close() { try { if (ie != null) { //ie.Quit(); WindowProc.KillProcess("iexplore"); } } catch (Exception ex) { SharpLog.Error("WebProcClose", ex.ToString()); } }