Question : Looking for advice on common folders data storage

Hello

I am looking for some advice and how you approach the following:

I am developing a 32-bit app that will work on 32 bit and 64 bit boxes running Windows XP, Vista, and Win7. I am developing with VS 2008.

I have some data that I want stored in a folder that will be used by all users of the program and other folders that will be user specific..

Problem 1: Each OS has slightly different layouts. For example My Documents on XP is called Documents on Win7. How do I make sure that the user specific folder goes into the right folder? I do not want to create a 'My Documents' folder on a system that has a 'Documents' folder and vice-versa.

Now I was thinking of storing common data in  Program Files -> Common Files but on a 64-bit system this folder is called Program Files (x86). How do I make sure that the folder is created in the right place?

I hope I am explaining this clearly. Ask me a question if I am not.

Thanks

PBLack

Answer : Looking for advice on common folders data storage

Random Solutions  
 
programming4us programming4us