This is just a simple example to open a URL. More can be done with TLB files or better dynamic lightweight COM interfaces.
WebView2Loader.dll can download from here:
www.vbrichclient.com/en/Downloads.htm
Code:
If CreateCoreWebView2EnvironmentWithOptions(0&, 0&, 0&, ObjPtr(WebCompletedHandler)) <> S_OK Then
MessageBox 0, "Failed to create environment", "Error", 0
Else
Form1.Caption = "New Webview OK"
End If
WebView2Loader.dll can download from here:
www.vbrichclient.com/en/Downloads.htm