Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
QuestionExtracting string between quotes Pin
Priya Karthish31-Jan-19 0:08
Priya Karthish31-Jan-19 0:08 
AnswerRe: Extracting string between quotes Pin
lmoelleb31-Jan-19 0:23
lmoelleb31-Jan-19 0:23 
AnswerRe: Extracting string between quotes Pin
OriginalGriff31-Jan-19 0:53
mveOriginalGriff31-Jan-19 0:53 
JokeRe: Extracting string between quotes Pin
Richard Deeming1-Feb-19 1:08
mveRichard Deeming1-Feb-19 1:08 
AnswerRe: Extracting string between quotes Pin
AFell231-Jan-19 5:35
AFell231-Jan-19 5:35 
QuestionC# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx30-Jan-19 9:54
professionaljkirkerx30-Jan-19 9:54 
AnswerMy Bad! Pin
jkirkerx30-Jan-19 11:32
professionaljkirkerx30-Jan-19 11:32 
GeneralRe: My Bad! Pin
OriginalGriff30-Jan-19 21:20
mveOriginalGriff30-Jan-19 21:20 
The registry is - and was - easy to use, which meant it got abused, and badly. As a result, it's harder to use these days than it was (because badly written aps could do serious damage to a load of things) and that's not likely to get easier: quite the reverse.

Instead of that, there are environment folders (try typing "%appdata%" into the Windows explorer Address bar) which "separate" data and allow you to store what you want. (Where should I store my data?[^] shows how to use them in C#) and using XML, JSON, or any other format for data storage is pretty easy and flexible these days.

Pretty much as simple as using the registry, but with added flexibility and the ability to "share" info between apps: Instance Storage - A Simple Way to Share Configuration Data among Applications[^] for example.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: My Bad! Pin
jkirkerx1-Feb-19 7:45
professionaljkirkerx1-Feb-19 7:45 
AnswerRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 2:12
professionalEddy Vluggen1-Feb-19 2:12 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 7:48
professionaljkirkerx1-Feb-19 7:48 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 8:39
professionalEddy Vluggen1-Feb-19 8:39 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 8:44
professionaljkirkerx1-Feb-19 8:44 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 9:29
professionalEddy Vluggen1-Feb-19 9:29 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 9:39
professionaljkirkerx1-Feb-19 9:39 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 10:56
professionalEddy Vluggen1-Feb-19 10:56 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 11:15
professionaljkirkerx1-Feb-19 11:15 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 11:20
professionalEddy Vluggen1-Feb-19 11:20 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 11:28
professionaljkirkerx1-Feb-19 11:28 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 11:47
professionalEddy Vluggen1-Feb-19 11:47 
QuestionPackage Installation Failure Pin
NalaBI29-Jan-19 22:45
NalaBI29-Jan-19 22:45 
AnswerRe: Package Installation Failure Pin
OriginalGriff29-Jan-19 23:32
mveOriginalGriff29-Jan-19 23:32 
GeneralRe: Package Installation Failure Pin
NalaBI30-Jan-19 2:38
NalaBI30-Jan-19 2:38 
GeneralRe: Package Installation Failure Pin
OriginalGriff30-Jan-19 3:01
mveOriginalGriff30-Jan-19 3:01 
AnswerRe: Package Installation Failure Pin
Richard MacCutchan29-Jan-19 23:50
mveRichard MacCutchan29-Jan-19 23:50 

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.