I need help with WebBrowser control on Visual Studio 2022

Space 21 Reputation points
2022-02-14T07:46:16.193+00:00

I wanted to try making my own web browser, although I can't find WebBrowser Control in the toolbox. Does anyone know how to get WebBrowser Control?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,966 questions
{count} votes

Accepted answer
  1. Viorel 88,406 Reputation points
    2022-02-14T08:33:29.107+00:00

    Probably you are making an application that is based on .NET 5 or 6 (Core). The WebBrowser control is available in case of .NET Framework. Try creating a new “Windows Forms App (.NET Framework)” project.

    However, there is a new improved control — WebView2 — which supports the modern Web sites. See: https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/winforms. You can also use it in WPF application.


1 additional answer

Sort by: Most helpful
  1. Castorix31 68,666 Reputation points
    2022-02-14T08:33:20.883+00:00

    You must create a .NET Framework project, not .NET Core

    But WebBrowser control has been replaced by WebView2

    173909-net-framework.jpg