ProgramData folder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?TWlraGFpbCBHb2xvdm55a2g=?=

    #1

    ProgramData folder

    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.Spe cialFolder.Comm onApplicationDa ta 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\ProgramNa me 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

    --
    Mikhail

  • Michael Nemtsev

    #2
    Re: ProgramData folder

    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

    MGHi,
    MG>
    MGI need my program to save settings somewhere (.NET 2.0, Vista, XP).
    MGThese settings should be common for all users. I am going to save
    MGsettings to Environment.Spe cialFolder.Comm onApplicationDa ta folder
    MG(which is c:\ProgramData under Vista). I am going to create a folder
    MG<ProgramNameu nder that folder and modify its account control to
    MGallow all users to read/write into it.
    MG>
    MGIs it the right idea? Or is it not recommended?
    MG>
    MGI do not want to use settings feature of VS2005. My older project
    MGwas saving settings into Program Files\ProgramNa me folder. It's not
    MGa good idea any more under Vista because of Virtualization, isn't it
    MG:)
    MG>
    MGAny response would be appreciated
    MGThank you,
    MGMikhail


    Comment

    Working...