Ability to support Html5 in WPF webbrowser

My WPF browser does not support html5 elements on webpages, and I do not know how to implement support for it. I do have IE9 installed and I can see html5 elements browsing with IE.

Any help with how I can go about adding support for html5 is very much appreciated.

Answers


I actually found out the solution by myself. Everything is explained on this page: http://kirubhananth.blogspot.se/2013/04/how-to-load-html-5-content-in-wpf.html

  1. Click Start -> Run (or Win+R shortcut)
  2. Type REGEDIT in the textbox and click enter. The Registry Editor will be opened. Needs administration rights to open and modify the registry.
  3. Traverse in the tree in left side panel through HKEY_LOCAL_MACHINE -> SOFTWARE -> Wow6432Node -> Microsoft -> Internet Explorer -> MAIN -> FeatureControl -> FEATURE_BROWSER_EMULATION
  4. After selecting the FEATURE_BROWSER_EMULATION right click the empty space in the right side keys panel and select New -> DWORD (32 bit) Value
  5. Set the value name as your app's name. eg: MyApp.exe
  6. Set the vaule data to 270f and tick Hexadecimal.
  7. To support debugging through Visual Studio, add another key with the same value data and with .vshost between your app name and the extension. eg: MyApp.vshost.exe

Need Your Help

WCF/WPF DateTime returning null

c# wpf wcf datetime

I have a WPF app that is calling a WCF service. In the WCF service I make a call to a database and return some items, one which includes a datetime.

Jcrop not working on bootstrap 3 modal

javascript jquery modal-dialog twitter-bootstrap-3 jcrop

I want to implement something like this, which is appear on Bootstrap 3 modal