Posts

Showing posts with the label GeckoFX

Using the Gecko Web Browser in a C# Winforms Project

Image
Some particularly useful links: http://stackoverflow.com/questions/8778320/how-to-use-gecko-in-c-sharp https://xinyustudio.wordpress.com/2015/07/04/embedding-web-browsers-in-winform-applications/#more-3695 See this link if you're interested in using Gecko in a WPF project: https://www.technical-recipes.com/2017/using-the-gecko-web-browser-in-wpf/ Installing and using the latest GeckoFX-45.0 1. Create a new WinForms application: 2. Install the GeckoFX package via NuGet Select Tools > NuGet Package Manager > Package Manager Console At the Package Manager Console type 'install-package geckofx45': 3. Insert the Gecko control into your form. Select View > ToolBox and the new control should now be available: If this tool does not appear then right click on the 'General' tab of the Toolbox and select 'Choose items...'. The go to the COM Components tab and select the Browse button and locate and select the Geck winforms-r...