Can Edge be used in VS .net or vb.net ?

vmars316 621 Reputation points
2020-10-13T15:11:22.613+00:00

Can Edge be used in VS .net or vb.net WinForms
instead of IE11 ?
And is there a tutorial or QuickStart for this ?
Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,781 Reputation points
    2020-10-13T15:14:56.27+00:00

    Hi @vmars316 ,

    Something here might help:

    Introduction to Microsoft Edge WebView2 (Preview)
    https://learn.microsoft.com/en-us/microsoft-edge/webview2/

    Supported platforms
    A developer preview is available on the following programming environments.

    Win32 C/C++
    .NET Framework 4.6.2 or later
    .NET Core 3.0 or later
    WinUI 3.0

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Castorix31 84,546 Reputation points
    2020-10-13T15:26:55.533+00:00

    I tested WebView1 and WebView2 in VB.NET and C# on Windows 10
    WebView1 worked fine
    WebView2 did not work, probably because I did not install Microsoft Edge Canary channel as mentioned in the doc


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.