Thursday, May 1, 2014

Using SHDocVW, unable to retrieve the Open IES

My application in VS2010 is running as administrator(that is the requirement). My application launches a few Internet Explorers.


When i try to retrive them from SHDocVW.Shell Windows() am getting a count of 0 or 1, eventhough i have 10 IE windows open.


foreach(InternetExplorer ie in new ShdocVw.ShellWindows())


{


//The control comes here only once/never, eventhough i have around 10 IEs opened by the application.


}


Please let me know how to solve this issue.


No comments:

Post a Comment