question

KarlaFranke-7790 avatar image
0 Votes"
KarlaFranke-7790 asked cooldadtx answered

.Net upgrade from SHDocVw IE to Edge

I need upgrade my .NET applications that currently open IE browser using SHDocVw.InternetExplorer. I do not open the browser within the application webrowser.
What should I be using to create an MSEdge browser object so I can continue to interact with the browser?

dotnet-csharpwindows-forms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

cooldadtx avatar image
0 Votes"
cooldadtx answered

To use the new Edge browser you have to move away from WebBrowser in Winforms/WPF and over to WebView or WebView2. The documentation for how to do this is available online. Note that these are not going to have the same featureset as WebBrowser so you will need to make some adjustments. Also note that they have Win 10 OS requirements that must be met. WebView2 is still in development so I would not recommend you use it until it is stable.

Issues related to using these controls can be submitted on Github. Refer to the link at the bottom of the page linked above to get access to it.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.