Posted on 2009-02-17
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 ?
Question by:isnoend2001
    LVL 9

    Accepted Solution

    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.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    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…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now