string path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
string path = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
sring path =
Application.StartupPath`
string path = System.IO.Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName);