Perhaps Application.StartupPath and/or system.Reflection.Assembly.GetExecutingAssembly.GetName() might help you here.
>When using the XmlDocument.Load() method from a DLL, is it possible to use one of the overloads with a relative path (to the location of the DLL) to retrieve an XSLT document?
>
>I need to load an XSLT document and I do not want to hard code the path or, if possible, not have to load the path into a config file. I would like to place the XSLT file in the DLL bin dir or possibly one level up and load it from there. Is it possible to retrieve this path in the running DLL w/o specifying it in a config file?
>
>Thanks,
>Bill
Hector Correa