> This will break if the program is loaded from the shadow
> copy cache.
You can use CodeBase instead which works with shadow assemblies also:
String strAppDir = Path.GetDirectoryName(
Assembly.GetExecutingAssembly().GetName().CodeBase);
Andrus.