Replace "Web Browser" vb.net

0

I want to change the default browser of visual studio, I would like to use another to run some scripts that are having problems in internet explorer. I would like suggestions and examples of how to do this. Thanks in advance.

    
asked by anonymous 16.01.2018 / 20:55

1 answer

1

You have some options, one of which is what Rovann quoted, so I researched it worth doing a test on Gecko, it's based on Mozilla. I will put a code sample in C # (for vb.net you will have no difficulties converting)

CefSharp

Dotnetbrowser (paid)

GeckoFX

 GeckoWebBrowser browser;
    public Form1()
    {
        InitializeComponent();

        var app_dir = Path.GetDirectoryName(Application.ExecutablePath);
        Gecko.Xpcom.Initialize(Path.Combine(app_dir, "xulrunner"));

        browser = new GeckoWebBrowser();

        browser.Dock = DockStyle.Fill;
        this.browser.Name = "browser";

        this.Controls.Add(browser);
    }
    
17.01.2018 / 09:20