Determing My Programs Directory
-
Hello I am writing a program that contains a class, the class needs to determine the directory of the program in order to save a file in the same directory as the .exe file. what do i need to do to get put the file im writing in the same directory as the exe.
-
Hello I am writing a program that contains a class, the class needs to determine the directory of the program in order to save a file in the same directory as the .exe file. what do i need to do to get put the file im writing in the same directory as the exe.
-
Hello I am writing a program that contains a class, the class needs to determine the directory of the program in order to save a file in the same directory as the .exe file. what do i need to do to get put the file im writing in the same directory as the exe.
Use
Application.StartupPath
Property - the property returns the path for the executable file that started the application, not including the executable name. DevIntelligence.com - My blog for .Net Developers