I have IE10 installed on my machine and am trying to access a web application which I do not own. I am trying to embed a URL of that web application in .net browser control in my desktop application. The web application URL loads fine when I change the document mode of IE to either IE8 or IE9 standards, but fails to load in the default IE7 standards mode. I would like to be able force the web-browser control to run IE in IE8 or IE9 standards mode programatically in my .net application. I googled a lot & most of the solutions I found talked about the following two approaches.
Making a registry entry to force IE to emulate a particular mode for my application.
Adding the META tag to the HTML page to force it to open in a particular mode.
Is there any other suggested approach for this ? Earlier, I remember I could increase max connections (of IE) per server using wininet setInternetOption API. Is there any such API to set the IE mode for my application ? I would very much appreciate if someone can point me to some code snippet for the same.