I have a *.reg script which just modifies (overwrites) the value of a certain, existing Registry key.
When I double click on it (similar to Win7) then a popup appears asking me if I really want to add the key.
After clicking Ok I was informed that the key value has been added successfully...
I am not able to figure out how to write to the registry in VB or VBA.
I tried using the windows APi and WS.Script, both work in the XP environment, but not Win7
I just need to create a key and set the key value. MY current code I am using can read the key if I manually create it.
I have read...