OpennessWebView2 Control
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
HmiRuntime.Screens("Screen_1").ScreenItems("WebView2_1").Navigate "https://html5test.com"
End Sub
Installation
Regular installation procedure
Installation procedure with fixed version of WebView2 Runtime
Fixed versions of the WebView2 Runtime can be obtained from here.
Building from source
Visual Studio
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)