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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top