reference path of dll

H

Han Sen

I have a dll that is used from word.
I'd like to have an xml file with some config settings.
This xml file I'd like to place in the same folder as the dll.

How do I read the path of the dll form the dll so I can find the xml
file?

Han
 
B

Bharat Sharma

Dim _Assembly As [Assembly]
_Assembly.GetExecutingAssembly().Location

Han said:
I have a dll that is used from word.
I'd like to have an xml file with some config settings.
This xml file I'd like to place in the same folder as the dll.

How do I read the path of the dll form the dll so I can find the xml
file?

Han

--

Best,
_____________
Bharat Sharma

* TEN Technologies.
* Official Web: _www.ten-technologies.com_
<http://www.ten-technologies.com/>
Personal Web: _www.bharatsharma.net_ <http://www.bharatsharma.net/>
 
H

Han Sen

Thanks a lot :)

Dim _Assembly As [Assembly]
_Assembly.GetExecutingAssembly().Location

Han said:
I have a dll that is used from word.
I'd like to have an xml file with some config settings.
This xml file I'd like to place in the same folder as the dll.

How do I read the path of the dll form the dll so I can find the xml
file?

Han
 

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