Get the application start up path : C#
// Gets the path for the executable file that started the application, including the executable name.
string aPath1 = System.Windows.Forms.Application.ExecutablePath;
// Gets the path for the executable file that started the application, not including the executable name.
string aPath2 = System.Windows.Forms.Application.StartupPath;
string aPath1 = System.Windows.Forms.Application.ExecutablePath;
// Gets the path for the executable file that started the application, not including the executable name.
string aPath2 = System.Windows.Forms.Application.StartupPath;
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home