Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1448

vb6 webview2(Edge-Chromium) by IUnknown WebView2Loader.dll

$
0
0
download webview sdk *.nupkg
you can find:
webview.tlb , WebView2.idl WebView2Loader.dll

https://globalcdn.nuget.org/packages....1774.30.nupkg
https://learn.microsoft.com/en-us/mi...s=dotnetcsharp
rename as zip file,unzip

---------------
This is just a simple example to open a URL. More can be done with TLB files or better dynamic lightweight COM interfaces.

Code:

    If CreateCoreWebView2EnvironmentWithOptions(strptr(""), strptr(""), 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
Attached Files

Viewing all articles
Browse latest Browse all 1448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>