Click here to Skip to main content
15,891,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adding Rows to Dataset Pin
Heath Stewart13-May-04 13:04
protectorHeath Stewart13-May-04 13:04 
GeneralRe: Adding Rows to Dataset Pin
MrJJKoolJ13-May-04 13:22
MrJJKoolJ13-May-04 13:22 
GeneralRe: Adding Rows to Dataset Pin
Heath Stewart13-May-04 13:29
protectorHeath Stewart13-May-04 13:29 
GeneralRe: Adding Rows to Dataset Pin
Heath Stewart13-May-04 13:07
protectorHeath Stewart13-May-04 13:07 
GeneralSys Monitor graphs Pin
Ashwin C13-May-04 11:27
Ashwin C13-May-04 11:27 
GeneralRe: Sys Monitor graphs Pin
Heath Stewart13-May-04 11:49
protectorHeath Stewart13-May-04 11:49 
Generalregistry permissions Pin
elena1234513-May-04 10:36
elena1234513-May-04 10:36 
GeneralRe: registry permissions Pin
Heath Stewart13-May-04 10:56
protectorHeath Stewart13-May-04 10:56 
By default, everyone has permissions to read HKLM, and that's the way it should be. Users should only be able to write changes to their hive (HKEY_CURRENT_USER). If you have user-specific settings, that's where they should go.

Actually for .NET applications, nothing should go in the registry in a typical scenario. You typically use the .config file for application settings. If you have user settings, you can save them in a user's isolated storage (see the System.IO.IsolatedStorage namespace in the .NET Framework SDK). This allows for touchless deployment, or XCOPY deployment as it's sometimes called.

At the very least, your application should be sensitive to the fact that settings in the registry might not exist, using default values or displaying user-friendly errors where appropriate.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: registry permissions Pin
elena1234513-May-04 11:31
elena1234513-May-04 11:31 
GeneralRe: registry permissions Pin
Heath Stewart13-May-04 11:35
protectorHeath Stewart13-May-04 11:35 
GeneralRe: registry permissions Pin
Heath Stewart13-May-04 10:59
protectorHeath Stewart13-May-04 10:59 
GeneralMDI Client Pin
Agent 8613-May-04 10:07
Agent 8613-May-04 10:07 
GeneralRe: MDI Client Pin
Dave Kreskowiak13-May-04 12:01
mveDave Kreskowiak13-May-04 12:01 
GeneralCreating Dataset Pin
MrJJKoolJ13-May-04 10:06
MrJJKoolJ13-May-04 10:06 
GeneralRe: Creating Dataset Pin
Heath Stewart13-May-04 11:07
protectorHeath Stewart13-May-04 11:07 
GeneralRe: Creating Dataset Pin
MrJJKoolJ13-May-04 11:12
MrJJKoolJ13-May-04 11:12 
GeneralRe: Creating Dataset Pin
Heath Stewart13-May-04 11:21
protectorHeath Stewart13-May-04 11:21 
GeneralSort TreeView items by different logic Pin
Gian13-May-04 5:13
Gian13-May-04 5:13 
GeneralRe: Sort TreeView items by different logic Pin
Heath Stewart13-May-04 8:56
protectorHeath Stewart13-May-04 8:56 
GeneralRe: Sort TreeView items by different logic Pin
Gian16-May-04 22:02
Gian16-May-04 22:02 
GeneralRe: Sort TreeView items by different logic Pin
Heath Stewart17-May-04 3:20
protectorHeath Stewart17-May-04 3:20 
GeneralRe: Sort TreeView items by different logic Pin
Gian17-May-04 4:58
Gian17-May-04 4:58 
GeneralRe: Sort TreeView items by different logic Pin
Heath Stewart17-May-04 5:13
protectorHeath Stewart17-May-04 5:13 
GeneralRe: Sort TreeView items by different logic Pin
Gian17-May-04 5:35
Gian17-May-04 5:35 
GeneralRe: Sort TreeView items by different logic Pin
Heath Stewart17-May-04 6:17
protectorHeath Stewart17-May-04 6:17 

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.