parasoul
2nd March 2011 23:26 UTC
Creating registry key?
hi,
I see tons of documentation on writing values from within registry keys, but how would you create one yourself?
Lets say I wanted to create a key at HKLM "SOFTWARE\MyApp"
probably something really simple I've overlooked
Thanks.
Afrow UK
2nd March 2011 23:27 UTC
Why don't you just try it? It creates the key of course.
Stu
parasoul
2nd March 2011 23:42 UTC
gah! I was trying it, about 15 times, and now I'm very disappointed because I was testing it in a conditional statement which was not being executed.
Nevermind, sorry for this pointless thread.
for anyone else as hopeless as me:
The registry key is automatically created when you write to it :)