I am trying to find a vb example for using RegSetKeySecurity. I want to take ownership of a registry key.

Can anyone help