Accessing text file after installation - easy question!

intx13

Member
Joined
Jun 21, 2006
Messages
7
Programming Experience
5-10
Ok, this should be an easy one. My application reads some information from a readme fie and adds it to a Help->Readme dialog. I assume the "right thing to do" is to store the readme under "Program Files" (in the final installable version)... how can I access this file without using absolute pathnames?

Thanks!

-Nate
 
Use Application.StartupPath for Windows Application projects to get paths relative to the where the application is installed and started from.
 
Back
Top