find installation path of addin

R

Ratnesh Raval

Hey all,

Is there any way to find the installation path of the word addin developed
in Visual studio 2003 (framework 1.1).
its very easy to do for normal windows application
(application.startuppath).
but i want to do that for COM Add-in from the code.

thnx
 
X

XL-Dennis

Hi,

I'm running VS.NET 2005 and Framework 2.0 where the following works for the
assembly:

My.Application.Info.DirectoryPath
 
X

XL-Dennis

Ratnesh,

The following may work with VS 2003 and Framework 1.1:

System.AppDomain.CurrentDomain.BaseDirectory
 
Top