Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# Pin
Keith Barrow29-Apr-11 8:34
professionalKeith Barrow29-Apr-11 8:34 
GeneralRe: c# Pin
SledgeHammer0129-Apr-11 8:42
SledgeHammer0129-Apr-11 8:42 
AnswerRe: c# Pin
PIEBALDconsult29-Apr-11 17:25
mvePIEBALDconsult29-Apr-11 17:25 
AnswerRe: c# Pin
ambarishtv29-Apr-11 22:51
ambarishtv29-Apr-11 22:51 
AnswerRe: c# Pin
Prasanta_Prince30-Apr-11 7:14
Prasanta_Prince30-Apr-11 7:14 
QuestionFile access permissions in program files folder Pin
lukeer29-Apr-11 3:46
lukeer29-Apr-11 3:46 
AnswerRe: File access permissions in program files folder Pin
dan!sh 29-Apr-11 5:26
professional dan!sh 29-Apr-11 5:26 
AnswerRe: File access permissions in program files folder Pin
Luc Pattyn29-Apr-11 8:09
sitebuilderLuc Pattyn29-Apr-11 8:09 
Hi,

there are two kinds of settings.

1.
Application settings are the same for all users, and they cannot be changed by the app itself. Those are stored in the appname.exe.config file. You can edit the file with e.g. WordPad, other than that the information could as well have been stored inside the exe file itself.

2.
User settings are individual, they can be changed by the app itself. Those are stored twice: the default value is present in the appname.exe.config file (just like app settings), and it is read-only; the actual value chosen by the user however is stored in a similar file (named user.config) in a subfolder of the user's personal folder (that is under Documents and Settings on older Windows versions, and under Users since Vista).

So file appname.exe.config can be write protected, no problem; the user's folders should be (and normally are) fully accessible by their owner.

It is of course explained in the MSDN documentation, starting here[^].

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: File access permissions in program files folder Pin
lukeer1-May-11 21:04
lukeer1-May-11 21:04 
AnswerRe: File access permissions in program files folder Pin
Luc Pattyn1-May-11 22:50
sitebuilderLuc Pattyn1-May-11 22:50 
QuestionHow to add the data from list to a class objects Pin
Rocky2329-Apr-11 0:59
Rocky2329-Apr-11 0:59 
QuestionRemoving "Back-Slash \" from string Pin
M Riaz Bashir28-Apr-11 23:09
M Riaz Bashir28-Apr-11 23:09 
AnswerRe: Removing "Back-Slash \" from string Pin
loveangel88828-Apr-11 23:15
loveangel88828-Apr-11 23:15 
GeneralRe: Removing "Back-Slash \" from string Pin
M Riaz Bashir28-Apr-11 23:23
M Riaz Bashir28-Apr-11 23:23 
GeneralRe: Removing "Back-Slash \" from string Pin
Richard MacCutchan29-Apr-11 0:46
mveRichard MacCutchan29-Apr-11 0:46 
AnswerRe: Removing "Back-Slash \" from string Pin
Blue_Boy28-Apr-11 23:18
Blue_Boy28-Apr-11 23:18 
AnswerRe: Removing "Back-Slash \" from string PinPopular
David198729-Apr-11 1:30
David198729-Apr-11 1:30 
AnswerRe: Removing "Back-Slash \" from string Pin
Prasanta_Prince29-Apr-11 5:49
Prasanta_Prince29-Apr-11 5:49 
AnswerRe: Removing "Back-Slash \" from string Pin
wizardzz29-Apr-11 7:23
wizardzz29-Apr-11 7:23 
QuestionBinding a Method Pin
dbongs28-Apr-11 21:52
dbongs28-Apr-11 21:52 
AnswerRe: Binding a Method Pin
Pete O'Hanlon28-Apr-11 23:03
mvePete O'Hanlon28-Apr-11 23:03 
GeneralRe: Binding a Method Pin
dbongs28-Apr-11 23:14
dbongs28-Apr-11 23:14 
GeneralRe: Binding a Method Pin
Pete O'Hanlon29-Apr-11 2:32
mvePete O'Hanlon29-Apr-11 2:32 
QuestionFileUpload Component question. Pin
buffering8328-Apr-11 19:38
buffering8328-Apr-11 19:38 
AnswerRe: FileUpload Component question. Pin
dan!sh 28-Apr-11 20:04
professional dan!sh 28-Apr-11 20:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.