Click here to Skip to main content
15,912,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was wondering how I can get the Webbrowser control that Internet Explorer uses.

I'm on Windows 7.

I need to get the most updated version of the .Net Webbrowser control.
Posted

There is no updated version of the control to download. What you get in the toolbox is it.
 
Share this answer
 
you cannot update the control itself, but you can change what version of internet explorer logic it uses. by default, it will use IE7 i beleive. if you have a more recent version if IE, you should be able to make it use that instead.



to do this, you must add a registry entry for each program.

ex: you program is called "my browser.exe"


go into the registry, to the following location:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

(you may need to create FEATURE_BROWSER_EMULATION if it does not exist)


Add a REG_DWORD entry that matches the name of your program:


name = my browser.exe
type = REG_DWORD
data = IE version to use * 1000... so for IE8, that would be 8000, or 0x00001f40 (in hex)


I have only tried this for ie7 and ie8, but i confirmed that it works by going to www.whatsmyuseragent.com



note that you can put it in HKEY_LOCAL_MACHINE instead of HKEY_CURRENT_USER if you want it to effect all users.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900