By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,471 Members | 711 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,471 IT Pros & Developers. It's quick & easy.

reference path of dll

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Dim _Assembly As [Assembly]
_Assembly.GetExecutingAssembly().Location

Han Sen wrote:
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/>

Nov 21 '05 #2

P: n/a
Thanks a lot :)

On Thu, 30 Dec 2004 19:08:45 +0530, Bharat Sharma
<bh****@bharatsharma.net> wrote:
Dim _Assembly As [Assembly]
_Assembly.GetExecutingAssembly().Location

Han Sen wrote:
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


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.