GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stever/AppHostCefSharp: CefSharp integrated with an Excel-DNA add-in using RedGate.AppHost.

This repository was archived by the owner on Nov 20, 2022. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

47 Commits
47 Commits

Folders and files

NameName
Last commit message
Last commit date
AppHostCefSharp.Services
AppHostCefSharp.Services
 
 
AppHostCefSharp.WebBrowser
AppHostCefSharp.WebBrowser
 
 
AppHostCefSharp
AppHostCefSharp
 
 
ExcelDnaExample
ExcelDnaExample
 
 
.gitignore
.gitignore
 
 
AppHostCefSharp.sln
AppHostCefSharp.sln
 
 
Clean.bat
Clean.bat
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

AppHostCefSharp

About

CefSharp doesn't play well with App Domains, and so doesn't work easily using Excel-DNA, for example. It had been suggested that RedGate.AppHost could be used to deal with the problem, and so this example project was made. It works!

Build

This solution was built using Visual Studio 2019.

Usual procedure to launch an Excel add-in:

  1. Open the Properties window for the ExcelDnaExample project.
  2. Set the 'Start external program' option to 'EXCEL.EXE' in path for your Office install.
  3. Set the 'Command line arguments' option to 'ExcelDnaExample.xll'

Now when you Start the solution it will launch Excel and the add-in.

Acknowledgements

Thanks to the following:

  • @jornh for the RedGate.AppHost suggestion.
  • @arsher for the appdomainsafe branch which I have been using.
  • @AmaelN for an interesting example using WPF with Excel-DNA.
  • RedGate for the AppHost library.
  • All the team making CefSharp for that neat project.

Note

There is an alternative branch called named-pipe which doesn't seem to work currently, but may be useful to consider as an alternative to the embedded HTTP server example here.

About

CefSharp integrated with an Excel-DNA add-in using RedGate.AppHost.

Topics

cefcefsharpchromiumchromium-embedded-frameworkcsharpdotnetexcelexcel-dnaexceldna

Resources

Readme
MIT license
Activity

Stars

9 stars

Watchers

0 watching

Forks

9 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.