10-25-2023 02:42 AM
i'm using labview 2013, i'm trying to open google maps on the browser, but had a lot of error and resulting in a need to update the browser
how can i resolve this.
is possible to get the coordenates from a place?
10-25-2023 03:45 AM - edited 10-25-2023 03:58 AM
IWebBrowser2 is an ActiveX interface to the old Internet Explorer engine. Microsoft did not implement any bridge from IWebBrowser2 to their new Edge engine. Since Internet Explorer is discontinued since many moons, there is no way you can upgrade that.
You will need to find a different interface to a more modern internet browser engine. WebView might be a solution that accesses the engine behind Edge, but it is .Net based (of course, Microsoft would rather abandon ActiveX nowadays if they could) and you will need to change all the nodes in LabVIEW accordingly.
For Chrome you could interface to WebKit which is the engine in the Google Chrome browser. There exists a .Net interface for that: https://code.google.com/archive/p/open-webkit-sharp/ but this is all old news already. The more up to date method is to use the CEF (Chromium Embedding Framework). The framework itself is DLL based and you do not want to access that directly from LabVIEW (a really challenging task) but there exists a .Net component to access that here: https://cefsharp.github.io/
10-25-2023 03:41 PM - edited 10-25-2023 03:45 PM
@SpaghettiCoder in the forum also has a LabVIEW XControl for WebView2 they have been working on available on GitHub and VIPM.