ProgramData folder

G

Guest

Hi,

I need my program to save settings somewhere (.NET 2.0, Vista, XP). These
settings should be common for all users. I am going to save settings to
Environment.SpecialFolder.CommonApplicationData folder (which is
c:\ProgramData under Vista). I am going to create a folder <ProgramName>
under that folder and modify its account control to allow all users to
read/write into it.

Is it the right idea? Or is it not recommended?

I do not want to use settings feature of VS2005. My older project was saving
settings into Program Files\ProgramName folder. It's not a good idea any more
under Vista because of Virtualization, isn't it :)

Any response would be appreciated
Thank you,
Mikhail
 
M

Michael Nemtsev

Hello Mikhail,

Yep, it's ok

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

MG> Hi,
MG>
MG> I need my program to save settings somewhere (.NET 2.0, Vista, XP).
MG> These settings should be common for all users. I am going to save
MG> settings to Environment.SpecialFolder.CommonApplicationData folder
MG> (which is c:\ProgramData under Vista). I am going to create a folder
MG> <ProgramName> under that folder and modify its account control to
MG> allow all users to read/write into it.
MG>
MG> Is it the right idea? Or is it not recommended?
MG>
MG> I do not want to use settings feature of VS2005. My older project
MG> was saving settings into Program Files\ProgramName folder. It's not
MG> a good idea any more under Vista because of Virtualization, isn't it
MG> :)
MG>
MG> Any response would be appreciated
MG> Thank you,
MG> Mikhail
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top