Registry.Setvalue won't work on my managed c++ program...

I don't think you need code examples... cause my code is compiling.

At runtime, I have no errors and the value in the registry is not updating...

Why? And how can I solve this?