CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2001
    Posts
    2,455

    Where are my application settings?

    Ok, I have a dll that I have added Settings.settings to. All values are blank by default and need to be specified the first time it is used. I started my application, entered a couple of settings and saved them using:

    Code:
    Settings.Default.MaestroLogin = this.MaestroLogin;
    Settings.Default.MaestroPassword = this.MaestroPassword;
    Settings.Default.Save();
    this.IsModified = false;
    The next time I start my application, the values I entered are there but I cannot find where they are being saved. I thought they would be saved in my "My.dll.config" xml file, but they aren't.

    Where would these settings be stored ? Any ideas?

    Mike B

  2. #2
    Join Date
    Feb 2001
    Posts
    2,455

    Re: Where are my application settings?

    Ok, I found them, they are saved in the local settings directory which is great. Does anyone know of a way to encrypt this file? I have some passwords saved in the settings and I need to encrypt it.

    Mike B

  3. #3
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Where are my application settings?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured