-
.NET 6.0 - Visual Studio 2022
No Problem description: Hi, I hope I'm not too much Off Topic. Expected behavior: I can use a WebBrowser and then embed Excel. Minimal repro: (https://www.codeproject.com/Articles/15760/How-to-Integrate-Excel-in-a-Windows-Form-Applicati) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is not correct, the control is still available, https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowser.cs. It is however built on top of the old IE engine, which may no longer work for many web resources (i.e. some website would plainly refuse to render content in it). WebView2 control is a modern alternative, and generally should be considered instead. |
Beta Was this translation helpful? Give feedback.
It is not correct, the control is still available, https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowser.cs. It is however built on top of the old IE engine, which may no longer work for many web resources (i.e. some website would plainly refuse to render content in it). WebView2 control is a modern alternative, and generally should be considered instead.