Microsoft Internet Controls - Interop.SHDocVw.dll (SHDocVw)
using SHDocVw; using mshtml; using System.IO;
WebBrowser m_browser = null; ShellWindows shellWindows = new ShellWindows(); string filename; foreach (SHDocVw.WebBrowser ie in shellWindows) { filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filename.Equals("iexplore")) { m_browser = ie; break; } }
No comments:
Post a Comment