Click here to Skip to main content
15,924,193 members
Home / Discussions / C#
   

C#

 
AnswerRe: Excise of Doing mini browser Pin
Christian Graus13-Nov-05 12:51
protectorChristian Graus13-Nov-05 12:51 
QuestionReading registry with windows services. Pin
VampireLord13-Nov-05 2:43
VampireLord13-Nov-05 2:43 
AnswerRe: Reading registry with windows services. Pin
VampireLord13-Nov-05 3:09
VampireLord13-Nov-05 3:09 
GeneralRe: Reading registry with windows services. Pin
Curtis Schlak.13-Nov-05 11:33
Curtis Schlak.13-Nov-05 11:33 
GeneralRe: Reading registry with windows services. Pin
VampireLord13-Nov-05 22:39
VampireLord13-Nov-05 22:39 
GeneralRe: Reading registry with windows services. Pin
Dave Kreskowiak14-Nov-05 2:39
mveDave Kreskowiak14-Nov-05 2:39 
GeneralRe: Reading registry with windows services. Pin
VampireLord14-Nov-05 2:45
VampireLord14-Nov-05 2:45 
GeneralRe: Reading registry with windows services. Pin
Curtis Schlak.14-Nov-05 3:22
Curtis Schlak.14-Nov-05 3:22 
Refer to <http: msdn.microsoft.com="" library="" default.asp?url="/library/en-us/dllproc/base/localsystem_account.asp">.

The salient point:
"The registry key HKEY_CURRENT_USER is associated with the default user, not the current user. To access another user's profile, impersonate the user, then access HKEY_CURRENT_USER."

So, if that value exists for a specific user's profile, i.e. the logged in user, you must impersonate that user and then read the key's value.

"we must lose precision to make significant
      statements about complex systems."
              -deKorvin on uncertainty

QuestionAccessing member variables in destructor Pin
Stylez Daviz13-Nov-05 1:39
Stylez Daviz13-Nov-05 1:39 
AnswerRe: Accessing member variables in destructor Pin
S. Senthil Kumar13-Nov-05 4:31
S. Senthil Kumar13-Nov-05 4:31 
GeneralRe: Accessing member variables in destructor Pin
Stylez Daviz13-Nov-05 5:42
Stylez Daviz13-Nov-05 5:42 
GeneralRe: Accessing member variables in destructor Pin
J4amieC13-Nov-05 10:54
J4amieC13-Nov-05 10:54 
QuestionHelp in C# Pin
myrama13-Nov-05 1:12
myrama13-Nov-05 1:12 
AnswerRe: Help in C# Pin
Christian Graus13-Nov-05 10:33
protectorChristian Graus13-Nov-05 10:33 
QuestionA problem about [xml-serialization and NHibernate] Pin
[chn]striker13-Nov-05 0:53
[chn]striker13-Nov-05 0:53 
Question-Images not Showing in Toolbars Pin
wgroves12-Nov-05 23:42
wgroves12-Nov-05 23:42 
QuestionConvert to C# syntax Pin
dabuskol12-Nov-05 20:12
dabuskol12-Nov-05 20:12 
AnswerRe: Convert to C# syntax Pin
Allah On Acid12-Nov-05 20:52
Allah On Acid12-Nov-05 20:52 
GeneralRe: Convert to C# syntax Pin
dabuskol12-Nov-05 21:00
dabuskol12-Nov-05 21:00 
GeneralRe: Convert to C# syntax Pin
Allah On Acid12-Nov-05 21:03
Allah On Acid12-Nov-05 21:03 
AnswerRe: Convert to C# syntax Pin
Joshua Quick12-Nov-05 22:35
Joshua Quick12-Nov-05 22:35 
GeneralRe: Convert to C# syntax Pin
leppie13-Nov-05 0:09
leppie13-Nov-05 0:09 
Questionhtmleditor Pin
munmat12-Nov-05 13:09
munmat12-Nov-05 13:09 
QuestionClose Child Form Pin
Tyler4512-Nov-05 10:40
Tyler4512-Nov-05 10:40 
AnswerRe: Close Child Form Pin
Colin Angus Mackay12-Nov-05 11:37
Colin Angus Mackay12-Nov-05 11:37 

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.