'It is possible to open edge IN windows form?

i just have a simple question.

It is possible to open edge (or mozilla) not from a windows form but in a windows form ?

I've tried something using EO.WebBrowser here's the code :

`   using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;

namespace NavigateurWeb
{
 public partial class BrowserForm : Form
{
    public BrowserForm()
    {
        InitializeComponent();
    }

    private void BrowserForm_Load(object sender, EventArgs e)
    {
        EO.WebEngine.Engine.Default.Options.AllowProprietaryMediaFormats();
       // webView1.Url = "http://192.168.1.199/";
        webView1.Url = "http://html5test.com/";
        
    }

    private void BtnPrevious_Click(object sender, EventArgs e)
    {
        if(webView1.CanGoBack)
        {
            webView1.GoBack();
        }
        
    }

    private void BtnNext_Click(object sender, EventArgs e)
    {
        if(webView1.CanGoForward)
        {
            webView1.GoForward();
        }
    }

    private void BtnRefresh_Click(object sender, EventArgs e)
    {
        webView1.Reload();
    }

    private void BtnSearch_Click(object sender, EventArgs e)
    {
        if (TbxUrl.Text != null)
        {
            webView1.Download(TbxUrl.Text);
           
            webView1.LoadUrlAndWait(TbxUrl.Text);
            System.Threading.Thread.Sleep(2000);
            
        }
    }
}

} `

My real problem is that i want to open a URL (NodeJS application) but it create an error that is "Array buffer allocation failed".

System.Windows.Messagebox.show("Do you have a solution ?");

Thanks !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source