S
Stimp
I've created a dll that I placed in my web application's 'bin'
directory.
I want to access the web.config file from this dll so that I can
retrieve a node value.
e.g.
Dim oDoc As XmlDocument = New XmlDocument
oDoc.Load("../web.config")
sOutput = oDoc.SelectSingleNode("//constring").Value
but it searches for the file in the system32 folder (or windows folder
in this case)
How can I get it to retrieve the file that is in the subdirectory?
thanks.
directory.
I want to access the web.config file from this dll so that I can
retrieve a node value.
e.g.
Dim oDoc As XmlDocument = New XmlDocument
oDoc.Load("../web.config")
sOutput = oDoc.SelectSingleNode("//constring").Value
but it searches for the file in the system32 folder (or windows folder
in this case)
How can I get it to retrieve the file that is in the subdirectory?
thanks.