0
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.
Posted on 3:28 PM by Softminer 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.
Post a Comment