public static String GetModuleFileDirectory()
{
String retString = GetModuleFileName();
return GetPathOnly(retString);
}
/// <summary> /// Return the path of the executable /// </summary> /// <returns>the path of the executable</returns> public static string GetApplicationPath() { //return Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\"; return(FolderHelper.GetModuleFileDirectory()); }