Archive: Creating registry key?


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.


Why don't you just try it? It creates the key of course.

Stu


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 :)