Click here to Skip to main content
15,884,473 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make a word in a text modifiable(doubleClick, change color,..) in C# Pin
Eddy Vluggen27-Jun-12 0:42
professionalEddy Vluggen27-Jun-12 0:42 
GeneralRe: How to make a word in a text modifiable(doubleClick, change color,..) in C# Pin
rongvangso727-Jun-12 5:07
rongvangso727-Jun-12 5:07 
GeneralRe: How to make a word in a text modifiable(doubleClick, change color,..) in C# Pin
Eddy Vluggen27-Jun-12 5:40
professionalEddy Vluggen27-Jun-12 5:40 
QuestionHow to put field at bottom of detail section in Crystal report Pin
maheshk_blr26-Jun-12 21:26
maheshk_blr26-Jun-12 21:26 
Questionmove App.Config to AppData folder Pin
Jassim Rahma26-Jun-12 21:04
Jassim Rahma26-Jun-12 21:04 
AnswerRe: move App.Config to AppData folder Pin
Eddy Vluggen27-Jun-12 0:46
professionalEddy Vluggen27-Jun-12 0:46 
GeneralRe: move App.Config to AppData folder Pin
PIEBALDconsult27-Jun-12 3:09
mvePIEBALDconsult27-Jun-12 3:09 
GeneralRe: move App.Config to AppData folder Pin
Cracked-Down28-Jun-12 0:59
Cracked-Down28-Jun-12 0:59 
you should not move application configuration file to AppData.
Reason : App.config file is configuration for the application as its name suggest but at the time of deployment. You should not touch this file once the application is installed.

The reason why this file is copied to the installation folder is same as that of all the exes and dlls that you deploy. which are not editable or undergo any changes unless a new version is installed.

Installation folder : is a base image of your application
App Data Folder : is deployment/user specific and can be altered at any time.

Generally, administrator has a rights to change the installation folder. A normal user can not change any files within it. Problem arises when you give control to user over this installation directory. Think if this config file is tempered by the user. Config files are automatically loaded by the application and hence result in application crash where as, appData folder can be loaded and validated by the code.

I am not sure why you want to do this but, I am guessing you want some of the settings to be altered at the run time. If that is the case then there is option for doing this in the visual studio. There are two types of the settings Application & User, user use setting for this case

Hope this helps


Big Grin | :-D
Happy Coding
QuestionStackOverflowException when pressing a specific button on certain computers Pin
brendanpi26-Jun-12 18:46
brendanpi26-Jun-12 18:46 
AnswerRe: StackOverflowException when pressing a specific button on certain computers Pin
OriginalGriff26-Jun-12 19:22
mveOriginalGriff26-Jun-12 19:22 
GeneralRe: StackOverflowException when pressing a specific button on certain computers Pin
brendanpi26-Jun-12 19:31
brendanpi26-Jun-12 19:31 
SuggestionRe: StackOverflowException when pressing a specific button on certain computers Pin
Trak4Net26-Jun-12 19:54
Trak4Net26-Jun-12 19:54 
GeneralRe: StackOverflowException when pressing a specific button on certain computers Pin
OriginalGriff26-Jun-12 21:08
mveOriginalGriff26-Jun-12 21:08 
AnswerRe: StackOverflowException when pressing a specific button on certain computers Pin
Luc Pattyn27-Jun-12 5:30
sitebuilderLuc Pattyn27-Jun-12 5:30 
GeneralRe: StackOverflowException when pressing a specific button on certain computers Pin
brendanpi27-Jun-12 18:06
brendanpi27-Jun-12 18:06 
AnswerRe: StackOverflowException when pressing a specific button on certain computers Pin
Luc Pattyn27-Jun-12 18:14
sitebuilderLuc Pattyn27-Jun-12 18:14 
QuestionImplementation of Generic Method in List<Class> Pin
ezazazel26-Jun-12 11:16
ezazazel26-Jun-12 11:16 
AnswerRe: Implementation of Generic Method in List Pin
Pete O'Hanlon26-Jun-12 11:55
mvePete O'Hanlon26-Jun-12 11:55 
AnswerRe: Implementation of Generic Method in List Pin
Luc Pattyn26-Jun-12 12:09
sitebuilderLuc Pattyn26-Jun-12 12:09 
GeneralRe: Implementation of Generic Method in List Pin
Pete O'Hanlon26-Jun-12 12:26
mvePete O'Hanlon26-Jun-12 12:26 
GeneralRe: Implementation of Generic Method in List Pin
ezazazel26-Jun-12 12:09
ezazazel26-Jun-12 12:09 
GeneralRe: Implementation of Generic Method in List Pin
Luc Pattyn26-Jun-12 12:13
sitebuilderLuc Pattyn26-Jun-12 12:13 
GeneralRe: Implementation of Generic Method in List Pin
ezazazel26-Jun-12 19:52
ezazazel26-Jun-12 19:52 
GeneralRe: Implementation of Generic Method in List Pin
Trak4Net26-Jun-12 20:31
Trak4Net26-Jun-12 20:31 
AnswerRe: Implementation of Generic Method in List Pin
DaveyM6926-Jun-12 20:08
professionalDaveyM6926-Jun-12 20:08 

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.