Getting Installed Directory for Windows Service
What would seem to be simple, I have a Windows Service whose executable reads an XML file upon starting. Since the executable may be installed anywhere, I would like to have it read the XML from a relative directory. For some reason, it always assumes it's relative to c:/windows/system32.
Is there something specific to Windows Services, the XmlTextReader class or .NET in general that does not allow me to do this?
[432 byte] By [
eogar] at [2007-11-18 23:37:23]
