Get around running visual studio as administrator in Windows 7 to interact with Internet Explorer
问题 I'm using SHDocVw.InternetExplorerClass to scrape a webpage. It works fine in XP, but when I try to run it in windows 7 I get an error: The interface is unknown. (Exception from HRESULT: 0x800706B5) When I run visual studio in administrator mode it works fine, but the published application has to be run in administrator mode too, which isn't acceptable. Is there any way to get around running the application in administrator mode? 回答1: Do you absoltely need to use SHDocVw.InternetExplorerClass