|
-
Mar 12th, 2007, 05:05 PM
#1
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.
-
Mar 13th, 2007, 01:28 AM
#2
Thread Starter
Junior Member
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?
-
Mar 14th, 2007, 03:03 AM
#3
Addicted Member
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?
-
Mar 14th, 2007, 05:31 PM
#4
Re: Get Application Settings
 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.
-
Mar 15th, 2007, 11:32 AM
#5
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|