The WebBrowser control in .net framework uses the IE installed on the PC, but by default it always simulates IE7.
To fix this, we need to add a Windows registry value.
For 32 bit OS,
[HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
For 64 bit OS,
[HKEY_LOCAL_MACHINE)\Software\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
Add one of the following two keys and value pairs depending on the version of IE installed on the computer
"DynasignPlayer.exe" = dword (32 bit) value, 8888 (Hex: 22B8), this is for IE8
"DynasignPreview.exe" = dword (32 bit) value, 8888 (Hex: 22B8), this is for IE8
"DynasignPlayer.exe" = dword (32 bit) value, 9999 (Hex: 270F), this is for IE9
"DynasignPreview.exe" = dword (32 bit) value, 9999 (Hex: 270F), this is for IE9
"DynasignPlayer.exe" = dword (32 bit) value, 10001 (Hex: 2711), this is for IE10
"DynasignPreview.exe" = dword (32 bit) value, 10001 (Hex: 2711), this is for IE10
"DynasignPlayer.exe" = dword (32 bit) value, 11001 (Hex: 2AF9), this is for IE11
"DynasignPreview.exe" = dword (32 bit) value, 11001 (Hex: 2AF9), this is for IE11
This value will force Webbrowser control to use correct IE mode instead of simulating IE7.
0 Comments