Home > Back-end >  TEdgeBrowser control does not display, someone tried?
TEdgeBrowser control does not display, someone tried?

Time:10-31

Direct use:
EdgeBrowser1 - & gt; Navigate (" * * * * * * * * * * * * * * ");
Didn't reflect
The same method Cppwebbrowser can

CodePudding user response:

Found in the website:
Preparing to use the Edge Browser component
Because TWebBrowser USES the Operating System - supplied Internet Explorer WebBrowser browser control there is no preparation required. It will work wherever the Windows from the Internet Explorer control available.

On the contrary, Microsoft Edge is not an Operating System component at the time. Because of this you need to ensure that these items are installed On your computer before you can run an application that USES it:

The Microsoft Edge Chromium - -based browser currently available from https://www.microsoftedgeinsider.com/download (Canary channel version whilst The WebView2 SDK is in pre - release, currently The minimum required version is 82.0.430.0).
The WebView2 control, currently available through NuGet at https://www.nuget.org/packages/Microsoft.Web.WebView2 or via GetIt package manager.
This applies to the compiling and executing the application on your development machine, and also on the end user 's machine.

With both these installed, the TEdgeBrowser will function and use the Edge WebView2 browser control to render the web content.

CodePudding user response:

EDGE and chrome are installed,

WideString SDF="https://www.baidu.com/";
//EdgeBrowser1 - & gt; Navigate (SDF c_bstr ());
EdgeBrowser1 - & gt; Navigate (SDF);

Can't see the web page,

CodePudding user response:

The error code - 2147467259
  • Related