programdata

Vista and ProgramData

What is the right place to store program data files which are the same for every user but have to be writeable for the program? What would be the equivalent location on MS Windows XP? I have read that C:\ProgramData is not writeable after installation by normal users. Is that true? How can I retrieve that directory programmatically using...

Missing file from Vista ProgramData folder

I have a legacy VB6 program which installs an Access file in a sub-directory of the common data folder (CSIDL_COMMON_APPDATA). I have now installed this program on a 64-bit Vista system, and the program works fine and accesses the file at C:\ProgramData\Wow\WowCat.mdb, but this file does not show in Windows Explorer. I want to overwrite...

About ProgramData folder's right with UAC turned on under Vista

I login in with Administrator on Vista with UAC turned on, is it OK for me to create, modifty or delete file in ProgramData folder. My test result is YES, but I found my AP can access the folder which name is "MicroSoft", is there any starndard document to know the ProgramData folder's right under Vista? ...

How to create a folder under %allusersprofile% during Setup with VS 2003 Setup Project?

I need to create a folder under "%allusersprofile%/Program Data" during the install process. The Setup file is created with VS 2003 setup project, and in it you can use several Known Folders... but as I see none maps to %allusersprofile% or "%allusersprofile%/Program Data". I thought that creating a "Custom Folder" (within VS Setup Pro...

Write in "ProgramData" folder (W7 and Vista) .NET

Hi I install my app under "Program Files" directory. And I install data, under "ProgramData" directory: Environment.SpecialFolder.CommonApplicationData In programData I have created folder to save data. Example: C:\ProgramData\MyApp\MyData\here I have files and folders Under XP all runs fine. But not under Vista or W7 OS. I can rea...

Change path to save mysettings - VB.NET 2008

Hi: I am using mysettings to save user settings. This config file is saved in this path: c:\ Documents and Settings \ \ [Local Settings] Application Data\\\ Is possible to change this path? For example, in my case I save app data in "ProgramData" folder (Vista & W7) and I would like save this config file in the same folder...

UnauthorizedAccessException with System.IO.File.InternalCopy in ProgramData on Windows 7

I have a program installed in ProgramData. I use UAB 2.1 to updating app but it's failed because accessing to the path is denied (OK with text files so I think there's problem with UAC). How can I get overwriting rights in ProgramData/MyAppFolder or display a dialog to notice user give overwriting rights for updater. Many thanks in adva...

Application Data folder in Windows 7

I have Windows 7 64 bit installed on my system. I have a question about "C:\ProgramData\Application Data" folder. It is mentioned here and here that "Application Data" is a Junction point which points to C:\ProgramData. So, i would expect the following command to list the contents of the C:\ProgramData folder (my ProgramData folder has f...