[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CSIDL_COMMON_APPDATA or CSIDL_COMMON_DOCUMENTS

Posted on 2009-02-17
2
Medium Priority
?
782 Views
Last Modified: 2012-05-06
I am trying to get my app Vista compliant and am not sure where to put app data. My software uses about 10 files and produces other files. After reading some say CSIDL_COMMON_APPDATA others say CSIDL_COMMON_DOCUMENTS
I know my exe goes to Program Files. Which is correct ?
0
Comment
Question by:isnoend2001
2 Comments
 
LVL 9

Accepted Solution

by:
Ken Fayal earned 2000 total points
ID: 23667816
CSIDL_COMMON_APPDATA is typically used for files created by your application to be used by all users.  

I would only use the CSIDL_COMMON_DOCUMENTS folder if the files being created are actually the output of your app.

It is confusing, but I think you will be better off using CSIDL_COMMON_APPDATA.

Read the MSDN article on the subject for clarification.  

http://msdn.microsoft.com/en-us/library/bb762494.aspx
0
 

Author Closing Comment

by:isnoend2001
ID: 31548163
Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question