Hello,
I have a dilema. Currently if i want to save a file / read from a file i assign a string variable to a directory for example C:/Files/Blah.txt . However, i am currently working on a program which will be distributed between some close friends and having a fixed location for a file is absolutely no use to me whatsoever. My question is, is there a way so that when a form loads i can get it to search for the programs directory and then assign the variable as /Files/Blah.txt for example? So for example if my program was in C:/Programs it would be C:/Programs/Files/Blah.txt , and if it was in C:/Test it would be in C:/Test/Files/Blah.txt ?
Any Help on this matter would be appreciated. I have searched for possible ways to do it, but have come up with nothing.
Thanks in Advance
Best Regards
JCD