Hey. In my project, I create a text file that I want to be created and referenced wherever the user has installed this program. Right now I have the text file in C:~~~~/My Documents.
If the user, for example, created a folder on his desktop and ran the program from there, I would want the text file to be stored in that folder, not My Documents.
What is the file path to a text file that is created in the project?
1 reply to this topic
#1
Posted 15 November 2011 - 09:56 PM
|
|
|
#2
Posted 21 November 2011 - 05:14 PM
Can anyone help me on this? I am pretty sure it is simple.
I have created a text file within the project. I want the program to reference that text file. What should I use as the StreamReader directory to access this text file?
I have created a text file within the project. I want the program to reference that text file. What should I use as the StreamReader directory to access this text file?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









