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

vb6 edge webview2 demo by IUnknown,without rc6.dll

$
0
0
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(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
Attached Files

Viewing all articles
Browse latest Browse all 1529

Trending Articles



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