reference path of dll

  • Thread starter Thread starter Han Sen
  • Start date Start date
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
 
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/>
 
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
 
Back
Top