The new version works fine.
To play with her.
this for insert text code to the page.
but i don't know how to do thisCode:Function NavigateToString(htmlContent As String) Dim r As Long r = DispCallByVtbl(webviewWindow, 3 + 3, StrPtr(htmlContent)) End Function
Code:virtual HRESULT STDMETHODCALLTYPE ExecuteScript( /* [in] */ LPCWSTR javaScript, /* [in] */ IWebView2ExecuteScriptCompletedHandler *handler) = 0;




Reply With Quote