0
string dr = System.IO.Path.GetDirectoryName();
this will not work, so you have to use this
System.IO.Path.GetDirectoryNameSystem.IO.Path.
GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
which returns the directory.
Posted on 3:28 PM by Badragheh and filed under
C#,
Windows Mobile
in C#.net if you try string dr = System.IO.Path.GetDirectoryName();
this will not work, so you have to use this
System.IO.Path.GetDirectoryNameSystem.IO.Path.
GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
which returns the directory.
Visual Studio.Net