Winform .Net 3.5 - Get path of ApplicationFolder for Office Add-In

Posted by Serexx on Stack Overflow See other posts from Stack Overflow or by Serexx
Published on 2010-04-12T23:57:52Z Indexed on 2010/04/13 0:03 UTC
Read the original article Hit count: 213

Filed under:

Greetings -

I am writing an add-in for Expression Web 3 in VS2008

The solution has a Windows Installer setup project in which the ApplicationFolder is tagged to hold some ancillary files.

I need to be able to access those files during the add-in's startup, but naturally the Application object as well as the AppDomain reference paths to Expression Web not to the Add-In.

There is a tickle in the back of my head that the solution involves reflection but thats as far as I can get... has anyone dealt with this or have any suggestions?

Thanks!

© Stack Overflow or respective owner

Related posts about winforms