Questions tagged [dotnetbrowser]

Use this tag for questions about DotNetBrowser, a Chromium-based control which allows .NET applications to display web pages.

Definition:

DotNetBrowser is a .NET Library which allows embedding a Chromium-based control into .NET applications to display modern web pages built with HTML5, CSS3, JavaScript, etc. DotNetBrowser supports both WPF and WinForms .NET graphical subsystems and provides WPF/WinForms UI controls which you can embed into your .NET Desktop Application to display web pages.

Main features:

  • WPF / WinForms Control
  • Display Web Accurately
  • HTML5, CSS3, JavaScript Support
  • Multi-Process Architecture
  • Browser Events Listeners
  • JavaScript Dialogs Handler

A full list of features can be found here: https://www.teamdev.com/dotnetbrowser#features

System requirements:

Microsoft Windows

  • Windows 10, 8, 8.1 & 7
  • Windows Server 2016, 2012 & 2008 R2

Microsoft Visual Studio

  • 2013, 2015 & 2017

.NET Framework

  • 4.0 or higher

More info & reading:

Code example:

WinForms:

BrowserView browserView = new WinFormsBrowserView();
Controls.Add((Control) browserView);
browserView.Browser.LoadURL("http://www.google.com");

WPF:

<Grid Name="mainLayout">
</Grid>

webView = new WPFBrowserView(BrowserFactory.Create());
mainLayout.Children.Add((UIElement)webView.GetComponent());
webView.Browser.LoadURL("http://www.google.com");
161 questions
1
vote
1 answer

Why DotNetBrowser not set permission granted in some site?

Create an Engine instance: engine = EngineFactory.Create(new EngineOptions.Builder { RenderingMode = RenderingMode.HardwareAccelerated, UserDataDirectory = folderBrowser, LicenseKey = lic, …
1
vote
1 answer

Listen for callbacks in dotNetBrowser

How can I use dotnetbrowser doing the following in a winform application? Create a listener that listen for callbacks to a specific redirect url. Open url in dotnetbrowser. The url makes the callback to the redirect url in another thread The…
Mike
  • 59
  • 3
1
vote
1 answer

dotNetBrowser: Creating engine causes an exception

I am trying to embed the browser into a COM object. But when I try to create an engine instance like so: _browserView = new BrowserView { Dock = DockStyle.Fill }; try { _engine = EngineFactory.Create(new EngineOptions.Builder …
Louis
  • 660
  • 1
  • 7
  • 14
1
vote
0 answers

Chromium new version update on DotNewBrowser

we have some performance issues on chromium 69 version and it seems fixed on latest chromium version. Do you have any plan to upgrade DotNetBrowser version to latest one?
Rahmi Aksu
  • 450
  • 5
  • 10
1
vote
0 answers

About Cookie in DotNetBrowser

I can't understand in what format cookie.ExpirationTime is. From help articles https://dotnetbrowser.support.teamdev.com/support/solutions/articles/9000110182-working-with-cookiestorage I understood that for set ExpirationTime we need to use this…
1
vote
0 answers

Why scroll events don't work?

Why scroll events don't work? but MouseWheel works. Is it something I missed? AddHandler browserView1.Scroll, AddressOf ScrollChange AddHandler browserView1.MouseWheel, AddressOf MouseWheelChange //Not running Public Sub…
1
vote
0 answers

DotNetBrowser - Select all text on web page

I'm starting integration of DotNetBrowser and I will have questions as I go along. I thought I would submit here first. My question of the day is how can I programmatically perform a select all on the HTML page currently loaded? Went through the doc…
masseyf
  • 11
  • 1
1
vote
1 answer

Using dotnetbrowser in a WinForm via Com Interop?

We have an application where the main UI is coded in vb6. We also have multiple .net assemblies (winform and class libraries) built in vb.net (VS2015, targeting framework 4.5.2). Can we utilize the winform dotnetbrowser in a .net assembly that is…
MarkL
  • 1,721
  • 1
  • 11
  • 22
1
vote
1 answer

How to create JSArray in DotNetBrowser?

It seems we can create JSObject by CreateObject method from a context object, but it seems we cannot create a JSArray? Is there a way other than ExecuteJavaScriptAndReturnValue("[]")?
Jeffrey Zhao
  • 4,923
  • 4
  • 30
  • 52
1
vote
1 answer

DotNetBrowser, how to to get the IP address of the server that loaded the page from the browser instance

I'm wondering when we load a page with DotNetBrowser how can we get the IP address of the server that served that page load request.
Bigtoe
  • 3,372
  • 1
  • 31
  • 47
1
vote
1 answer

Is it possible to import an Unity3D project as HTML5 in a Visual Studio application?

I have a Unity project built as HTML5. I can see it perfectly within Firefox, Edge and IExplorer 11. I would like to open it within a web viewer control in a Windows Form application in Visual Studio 2015 (Visual Basic). I tried with the basic…
1
vote
0 answers

Failed to create Browser Error (Access denied)

I'm getting "Failed to create Browser" error when using multiple instances of my app. I use different folders for each instance as advised. Error: Failed to create Browser. System.ComponentModel.Win32Exception (0x80004005): Access is denied at…
Samuel
  • 35
  • 4
1
vote
0 answers

DotNetBrowser rendering issues on lightweight mode

I'm testing DotNetBrowser (version 1.13) with a WPF window where I need to load an specific page (Comprovante de Situação Cadastral no CPF) and let the user click on a button to save the image from the page. When I load the site in lightweight mode…
Rafael Nossal
  • 11
  • 1
  • 5
1
vote
1 answer

DotNetBrowser modify post data uwitn OnBeforeURLRequest

Following this example : https://dotnetbrowser.support.teamdev.com/support/solutions/articles/9000110170-modifying-post-put-patch-upload-data , I have created the following code : public override void OnBeforeURLRequest(BeforeURLRequestParams…
Stoica Nicusor
  • 211
  • 4
  • 9
1
vote
1 answer

DotNetBrowser override window.navigator

I got the following code using DotNetBrowser; 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…
Stoica Nicusor
  • 211
  • 4
  • 9
1 2
3
10 11