Si vous travaillez sur Vista ou Seven, il faut ajouter une donnée (le nom de l'exe tout simplement avec une valeur associée) dans la base de registre pour travaillez avec la dernière version de Internet Explorer avec le contrôle Webgadget sinon vous ne pourrez pas affichez des pages Html5.
Ainsi, vous pourrez faire fonctionner cette page qui affiche un canvas sinon vous aurez une page blanche:
http://www.smashcat.org/av/canvas_test/Le site où j'ai recueilli l'information (on retrouve l'information aussi sur MSDN):
http://www.west-wind.com/weblog/posts/2 ... IE-VersionChemin du registre:
Code:
32 bit:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
Value Key: yourapplication.exe
64 bit:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
Value Key: yourapplication.exe
La valeur associée doit correspondre à ça:
Code:
The value to set this key to is (taken from MSDN here) as decimal values:
9999 (0x270F)
Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the !DOCTYPE directive.
9000 (0x2328)
Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode.
8888 (0x22B8)
Webpages are displayed in IE8 Standards mode, regardless of the !DOCTYPE directive.
8000 (0x1F40)
Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode.
7000 (0x1B58)
Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode.