Calling documents from users harddrive
Posted on 2001-06-11
I need to be able to access several templates in this program. Currently I call them from "C:/documentlocation".
However, when I package this program, not sure where the documents will be installed (for example, the user may wish to have the program installed on his D: drive). Is there an easy way to either:
a. Set location of install at packaging time, so that I can ensure that my templates install to "C:/documentlocation" on the user computer
or, and perhaps better,
b. Determine where the templates are located on the machine when the program is run, so that the program picks the proper template (and I avoid thoes awful errors)
(sorry bout low points, but almost out and still got a few ? left to finish the project)