G
grant
Good day,
How do I open a text file from the applications install location?
I am currently opening a text file using "StreamReader sr = new
StreamReader("DB.txt");" and then reading from that file.
Problem is if I create a shortcut on the users desktop it tries to read that
file from the desktop when I need it to read from the actual location of the
executable.
Thanks,
Grant
How do I open a text file from the applications install location?
I am currently opening a text file using "StreamReader sr = new
StreamReader("DB.txt");" and then reading from that file.
Problem is if I create a shortcut on the users desktop it tries to read that
file from the desktop when I need it to read from the actual location of the
executable.
Thanks,
Grant