WebBrowserコントロールを利用した場合、デフォルトの状態ではWebBrowserコントロールはInternet Explorer 7。
バージョンを変更するにはレジストリをイジる必要がある。
場所は
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
キーはDWORDで 実行ファイル名(hoge.exeとか)
値は
| 値 (10進数) | 値 (16進数) | バージョンと意味 |
| 11001 | 0x2AF9 | Internet Explorer 11, Edgeモード (最新のバージョンでレンダリング) |
| 11000 | 0x2AF8 | Internet Explorer 11 |
| 10001 | 0x2711 | Internet Explorer 10, Standardsモード |
| 10000 | 0x2710 | Internet Explorer 10 (!DOCTYPE で指定がある場合は、Standardsモードになります。) |
| 9999 | 0x270F | Internet Explorer 9, Standardsモード |
| 9000 | 0x2710 | Internet Explorer 9 (!DOCTYPE で指定がある場合は、Standardsモードになります。) |
| 8888 | 0x22B8 | Internet Explorer 8, Standardsモード |
| 8000 | 0x1F40 | Internet Explorer 8 (!DOCTYPE で指定がある場合は、Standardsモードになります。) |
| 7000 | 0x1B58 | Internet Explorer 7 (!DOCTYPE で指定がある場合は、Standardsモードになります。) |
ネタ元