//WCF service:
string servicePath = System.Web.Hosting.HostingEnvironment.MapPath("~"); //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug\
string strBaseDirectory = System.AppDomain.CurrentDomain.BaseDirectory; //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug\EHR.vshost.exe
string strMainModule = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName; //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug
string strCurrentDirectory = System.Environment.CurrentDirectory; //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug
string strGetCurrentDirectory = System.IO.Directory.GetCurrentDirectory(); //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug\
string strApplicationBase = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase; //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug
string strStartupPath=System.Windows.Forms.Application.StartupPath; //F:\WorkSpace\EHR\src\vs2010\EHR\EHR\bin\Debug\EHR.EXE
string strExecutablePath = System.Windows.Forms.Application.ExecutablePath;