Hi Michael,
you might try something like:
XlCall.Excel(XlCall.xlfRegister, @"path\to\addin.xll");
this should reload the add-in and re-register the functions.
However, I'm not sure whether you'd be able to update 'yourself' this
way.
Also, the .xll will always be locked while it is loaded, as I guess
you've noticed. One way to update it is to have multiple
subdirectories for different versions, and then update the .dna file
to point to the right subdirectory.
-Govert
On Feb 14, 3:19 pm, Michel Rasschaert <
michel.rasscha...@gmail.com>
wrote:
> Hello group,
>
> Is there a way to reload the addin while Excel is running ?
>
> The idea is to do seamless updates to the addin (we can already replace the
> files with the help of the shadow copying support).
>
> Thanks for your help and this great framework.
>
> Michel