I may be missing something blindingly obvious but is there a way in VB6 for the program to return the location of the project file i.e. "D:/My stuff/program/Project1.vbp"
Why do I ask? well I am working on this program at College and at home, and when it loads picture files within the program at home obviously the Drive and folder structure where the files are located are different.
Say at College it might be
"N:/Student/Documents/Program/Picture1.jpg"
But at home..
"D:/My stuff/Program/Picture1.jpg"
This means I would have to go through the code and change all the directory locations individually whenever I move the file?
So obviously if I can get VB to return the location of the project then I can manipulate this to the path of the picture.
If you have another idea I'd be glad to hear it.
Thanks





Reply With Quote







