Results 1 to 9 of 9

Thread: Get Application Settings

Hybrid View

  1. #1
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Get Application Settings

    It is possible to encrypt all or part of a config file if it contains sensitive information. The .NET configuration classes handle the job of decrypting when reading and encrypting when writing without you lifting a finger. You just have to perform the initial encryption of the file. MSDN has the details.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Aug 2006
    Posts
    21

    Re: Get Application Settings

    All I found that was similar to my Application Settings was;

    <userSettings>
    <IMEICheckerSalg.My.MySettings>
    <setting name="ConnectionString" serializeAs="String">
    <value />
    </setting>
    </IMEICheckerSalg.My.MySettings>
    </userSettings>

    I have a Settings variable called ConnectionString, but it seems it's blank. Also I have 3-4 other variables stored in the application settings, but I can't find them.

    My VB application reads out the settings from somewhere, but WHERE?

  3. #3
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Re: Get Application Settings

    Hi,

    I am Using Visual Basic 2005 Express Edition

    Try to search at:
    C:\Documents and Settings\Owner\Local Settings\Application Data\*.*
    It must be there under your "Your Company Name".

    I don't understand how to:
    It is possible to encrypt all or part of a config file if it contains sensitive information. The .NET configuration classes handle the job of decrypting when reading and encrypting when writing without you lifting a finger. You just have to perform the initial encryption of the file. MSDN has the details.
    Can someone explain it to me?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Get Application Settings

    Quote Originally Posted by yulyos
    Hi,

    I am Using Visual Basic 2005 Express Edition

    Try to search at:
    C:\Documents and Settings\Owner\Local Settings\Application Data\*.*
    It must be there under your "Your Company Name".

    I don't understand how to:


    Can someone explain it to me?
    http://search.msdn.microsoft.com/sea...t+config+files

    On the US MSDN site that search will return what you need in the first two matches. It says for ASP.NET but the same principles can be applied to WinForms applications.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    Addicted Member
    Join Date
    Aug 2002
    Posts
    224

    Re: Get Application Settings

    Hi,

    I looked at the link:
    http://search.msdn.microsoft.com/sea...t+config+files

    and I don’t understand nothing.

    My question is:
    How can my program Encrypt and Decrypt and save my user.config settings file?

    Thanks in advance

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