c# Programming Glossary: shellwindows
Retrieve current URL from C# windows form http://stackoverflow.com/questions/5317642/retrieve-current-url-from-c-sharp-windows-form URLs new System.Collections.Generic.List URLDetails var shellWindows new SHDocVw.ShellWindows foreach SHDocVw.InternetExplorer ie.. foreach SHDocVw.InternetExplorer ie in shellWindows URLs.Add new URLDetails URL ie.LocationURL Title ie.LocationName..
How can I get URLs of open pages from Chrome and Firefox? http://stackoverflow.com/questions/7814027/how-can-i-get-urls-of-open-pages-from-chrome-and-firefox I can check IE using the following SHDocVw.ShellWindows shellWindows new SHDocVw.ShellWindows string filename bool sdOpen false foreach.. bool sdOpen false foreach SHDocVw.InternetExplorer ie in shellWindows filename Path.GetFileNameWithoutExtension ie.FullName .ToLower..
Get current selection in WindowsExplorer from a C# application? http://stackoverflow.com/questions/8292953/get-current-selection-in-windowsexplorer-from-a-c-sharp-application article which led me to this code SHDocVw.ShellWindows shellWindows new SHDocVw.ShellWindows string filename ArrayList windows new.. new ArrayList foreach SHDocVw.InternetExplorer ie in shellWindows filename Path.GetFileNameWithoutExtension ie.FullName .ToLower.. I ended up with the following SHDocVw.ShellWindows shellWindows new SHDocVw.ShellWindows string filename ArrayList windows new..
|