Experience in C++, C#, Java and Process : Living in Montreal

* What is my technical experience as a software developer

* What I have learned in the software business

* Where I am heading to in my career

* How to process in a project

Tuesday, January 25, 2005

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;

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home