Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
QuestionSYSTEM RESTORE Pin
rick05565-Jun-09 7:19
rick05565-Jun-09 7:19 
AnswerRe: SYSTEM RESTORE Pin
EliottA5-Jun-09 7:27
EliottA5-Jun-09 7:27 
GeneralRe: SYSTEM RESTORE Pin
rick05565-Jun-09 13:22
rick05565-Jun-09 13:22 
AnswerRe: SYSTEM RESTORE Pin
I Believe In GOD5-Jun-09 7:29
I Believe In GOD5-Jun-09 7:29 
AnswerRe: SYSTEM RESTORE Pin
0x3c05-Jun-09 8:02
0x3c05-Jun-09 8:02 
AnswerRe: SYSTEM RESTORE Pin
Dave Kreskowiak5-Jun-09 9:51
mveDave Kreskowiak5-Jun-09 9:51 
GeneralRe: SYSTEM RESTORE Pin
rick05565-Jun-09 13:19
rick05565-Jun-09 13:19 
GeneralRe: SYSTEM RESTORE Pin
Dave Kreskowiak5-Jun-09 17:25
mveDave Kreskowiak5-Jun-09 17:25 
You don't give your "program" permissions to the registry. Your application runs as YOU, or the person or ID that launched it. If you don't have permissions to change that value, you have to use a higher level user account, like an Admin account.

If you're running the code under a normal user account, just about the entire HKEY_LOCAL_MACHINE hive is off-limits. If you're code is not just swallowing the exceptions, your code should have thrown an Access Denied error, or something very similar.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: SYSTEM RESTORE Pin
rick05565-Jun-09 20:04
rick05565-Jun-09 20:04 
QuestionParse out all the "{" + string + "}" occurences? Pin
_iobuf5-Jun-09 6:35
_iobuf5-Jun-09 6:35 
AnswerRe: Parse out all the "{" + string + "}" occurences? Pin
I Believe In GOD5-Jun-09 6:40
I Believe In GOD5-Jun-09 6:40 
GeneralRe: Parse out all the "{" + string + "}" occurences? Pin
_iobuf5-Jun-09 6:42
_iobuf5-Jun-09 6:42 
AnswerRe: Parse out all the "{" + string + "}" occurences? Pin
MidwestLimey5-Jun-09 6:41
professionalMidwestLimey5-Jun-09 6:41 
GeneralRe: Parse out all the "{" + string + "}" occurences? Pin
_iobuf5-Jun-09 6:44
_iobuf5-Jun-09 6:44 
AnswerRe: Parse out all the "{" + string + "}" occurences? Pin
Guffa5-Jun-09 10:43
Guffa5-Jun-09 10:43 
QuestionTalking to htpasswd.exe Pin
Johan Martensson5-Jun-09 6:17
Johan Martensson5-Jun-09 6:17 
AnswerRe: Talking to htpasswd.exe Pin
Henry Minute5-Jun-09 10:21
Henry Minute5-Jun-09 10:21 
GeneralRe: Talking to htpasswd.exe Pin
Johan Martensson5-Jun-09 11:39
Johan Martensson5-Jun-09 11:39 
AnswerRe: Talking to htpasswd.exe Pin
DaveyM695-Jun-09 11:19
professionalDaveyM695-Jun-09 11:19 
GeneralRe: Talking to htpasswd.exe Pin
Johan Martensson5-Jun-09 11:32
Johan Martensson5-Jun-09 11:32 
QuestionSearch a sentence in a string Pin
paradisonoir5-Jun-09 5:21
paradisonoir5-Jun-09 5:21 
AnswerRe: Search a sentence in a string Pin
Nagy Vilmos5-Jun-09 5:36
professionalNagy Vilmos5-Jun-09 5:36 
AnswerRe: Search a sentence in a string Pin
musefan5-Jun-09 5:48
musefan5-Jun-09 5:48 
QuestionUSB Card Reader Pin
bonkers1235-Jun-09 3:54
bonkers1235-Jun-09 3:54 
AnswerRe: USB Card Reader Pin
Eddy Vluggen5-Jun-09 3:58
professionalEddy Vluggen5-Jun-09 3:58 

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.