P Paul G. Tobey [eMVP] Nov 19, 2004 #2 Again, use the archives: http://groups.google.com/groups?hl=...soft.public.dotnet.framework.compactframework Look at the fifth hit in the list... Paul T.
Again, use the archives: http://groups.google.com/groups?hl=...soft.public.dotnet.framework.compactframework Look at the fifth hit in the list... Paul T.
D Daniel Moth Nov 19, 2004 #3 System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) Cheers Daniel
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) Cheers Daniel
C Chris Tacke, eMVP Nov 19, 2004 #5 Use GetCallingAssembly, not GetExecutingAssembly becasue if you're using it in a GAC-installed DLL, then you'll get \Windows and not the app folder.
Use GetCallingAssembly, not GetExecutingAssembly becasue if you're using it in a GAC-installed DLL, then you'll get \Windows and not the app folder.