By default the built-in Web Browser that is used on Windows to show web pages uses the Internet Explorer 7 rendering engine. Which means the Xojo HTMLViewer and the ActiveX WebBrowser controls also use this older rendering engine.
This is less than ideal as more and more web sites require newer, more modern versions of Internet Explorer. This can result in pages you want to display not working properly or not even showing at all. And that results in much sadness for anyone using your app.
Luckily there is a simple change you can make to the Registry to instead use a different Internet Explorer rendering engine. Here is the Registry key:
You can configure the tool you use to create your installer to create this Registry key for you.
For your Xojo apps, you can use this code to modify the Registry:
Dim reg As New RegistryItem("HKEY_CURRENT_USER\SOFTWARE\Microsoft") reg = reg.AddFolder("Internet Explorer") reg = reg.AddFolder("Main") reg = reg.AddFolder("FeatureControl") reg = reg.AddFolder("FEATURE_BROWSER_EMULATION") reg.Value(App.ExecutableFile.Name) = &h2af9 ' IE 11 renderer
Once this change is made, your app will use the newer rendering engine.