Hi,
sorry this is such a simple question but I've had an hour searching here and not found an answer.
How would I find the folder that the program is running in?
For instance, one user might put the .exe on the c-drive while another puts it in their 'documents', and for this particular program I don't want to force the user to put it in a specific place. But it will need to save/load files to/from the same folder...
I have considered using the 'special' folders for storing the files but I'm not sure they'd work the same in Vista or later versions as they do in XP.
Regards
Peter
sorry this is such a simple question but I've had an hour searching here and not found an answer.
How would I find the folder that the program is running in?
For instance, one user might put the .exe on the c-drive while another puts it in their 'documents', and for this particular program I don't want to force the user to put it in a specific place. But it will need to save/load files to/from the same folder...
I have considered using the 'special' folders for storing the files but I'm not sure they'd work the same in Vista or later versions as they do in XP.
Regards
Peter