This ActiveX control embeds Microsoft Edge WebView2 into SIMATIC WinCC Runtime Advanced/Professional.
The Microsoft Edge WebView2 Runtime needs to be installed to use this control.
Sub VBFunction_1()
HmiRuntime.Screens("Screen_1").ScreenItems("WebView2_1").Navigate "https://html5test.com"
End Sub
Fixed versions of the WebView2 Runtime can be obtained from here.
Install Visual Studio 2022 with the following:
- Workloads
- Desktop development with C++
- Python development
- Individual components
- Windows 10 SDK (10.0.19041.0)
- Python language support
- Python 3 64-bit (3.9.13)