Windows Vista Forums

Configuration file issue
  1. #1


    Job Lot Guest

    Configuration file issue

    How can I make my application to expect config file under “C:\Documents and
    Settings\All Users\Application Data\MyApplication” folder rather install
    folder.

    My app performs read/write operation on application configuration file that
    gets installed under application folder (c:\program files\My Application). It
    works alright on XP, but as soon as I run it on VISTA machine, I start
    hitting virtualization & UAC issues.



    How can make my app run under VISTA? Can I move the config file under
    “C:\Documents and Settings\All Users\Application Data” folder? If yes, how
    can I make my app to expect config file under “C:\Documents and Settings\All
    Users\Application Data” rather app folder.

    Thanks


      My System SpecsSystem Spec

  2. #2


    Kevin Spencer Guest

    Re: Configuration file issue

    Add a Manifest to your app. See
    http://blogs.msdn.com/shawnfa/archiv...06/568563.aspx

    --
    HTH,

    Kevin Spencer
    Chicken Salad Surgeon
    Microsoft MVP


    "Job Lot" <JobLot@xxxxxx> wrote in message
    news:751445E4-AA94-4DF8-A6EE-08F338A57B69@xxxxxx

    > How can I make my application to expect config file under "C:\Documents
    > and
    > Settings\All Users\Application Data\MyApplication" folder rather install
    > folder.
    >
    > My app performs read/write operation on application configuration file
    > that
    > gets installed under application folder (c:\program files\My Application).
    > It
    > works alright on XP, but as soon as I run it on VISTA machine, I start
    > hitting virtualization & UAC issues.
    >
    > How can make my app run under VISTA? Can I move the config file under
    > "C:\Documents and Settings\All Users\Application Data" folder? If yes, how
    > can I make my app to expect config file under "C:\Documents and
    > Settings\All
    > Users\Application Data" rather app folder.
    >
    > Thanks
    >


      My System SpecsSystem Spec

Configuration file issue problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration File in Interop Application James .NET General 0 22 Apr 2009
Solved Finding configuration file for windows vista marq0330 General Discussion 3 11 Jan 2009
Inbox configuration Issue Maurice Vista mail 0 21 Oct 2008
Configuration issue Oiprox Vista mail 1 08 Oct 2007
Behaviour and configuration file Acerty Indigo 0 06 Mar 2006