Bart Syryn (Partner) asked a question.

Microsoft Webview2 control

Hello,

In our application we have a form and on that form there's a webbrowser-component to show google-maps. That's working for years without any problem. The webbrowser uses by default the old internet-explorer, and now google maps give me a warning that browser isn't supported.

Information about the warning:

Error Messages | Maps JavaScript API | Google Developers

The suggested solution with adding in the metaheader doesn't solve the problem.

<meta http-equiv="x-ua-compatible" content="IE=edge">

 

So I was looking at using the new webview2 component.

I've added the following three dll to my assemblies, version 1.0.1072.54 - 32 bit:

Microsoft.Web.WebView2.Core.dll

Microsoft.Web.WebView2.WinForms.dll

Microsoft.Web.WebView2.Wpf.dll

And then I could add the webview2 component to my toolbox and place it on a form.

 

Running that form, the component doesn't work. I don't get any errors, but I also don't see the component (changed color etc).

 

Has anyone succeeded running that component (I have OE11.3 and OE11.6 32 bit).

Or another solution is to stick with current webbrowser component, but then I need to solve the warning about unsupported browser.

 

I hope someone can help me with this.

 

Regards,

Bart S