Description
Just a WebView2Loader.dll, 108KB, and do a VB6, VBA can be used,208KB, 1000KB can be used.
There's only four apis out there, but VB6 doesn't work and sometimes you need the simplest functionality, you don't need to implement everything, you can take your time.
1, you can execute JS, 2 a sentence to create a control and display to the specified window handle, 3 open the URL.
api export:
newwebview2(hwnd as long)
if hwnd=-1, it will show a new window for show webview
openurl(url as string)
sub runjs(js as string)
eval(js as string) as string
i put a sample ,someone can download test.
vb6 edge webview demo by IUnknown,only WebView2Loader.dll-VBForums
https://www.vbforums.com/showthread.php?900231-vb6-edge-webview-demo-by-IUnknown
create webview2 object by vb6,CreateCoreWebView2EnvironmentWithOptions-VBForums
https://www.vbforums.com/showthread.php?900226-create-webview2-object-by-vb6-CreateCoreWebView2EnvironmentWithOptions