S
sd
hello
I need to keep my app entry under HKEY_LOCAL_MACHINE\Software\MyApp.
(to support for all users).I need to update one key under MYApp.
When I attempt to set value for this key
My.Computer.Registry.LocalMachine.CreateSubKey("software
\MyApp").SetValue("Licence", "Success")
I get error stating Access to HKEY_LOCAL_MACHINE\Software\MYapp denied
for Vista only.For XP no problem.If for Vista I give full control to
Myapp reg folder ,everything works fine.Is it possible to create the
registry key with full controls permission in vb.net? or is there any
other way to solve this problem through vb.net.I don't want to give
permissions manually on reg key.
Thanks
I need to keep my app entry under HKEY_LOCAL_MACHINE\Software\MyApp.
(to support for all users).I need to update one key under MYApp.
When I attempt to set value for this key
My.Computer.Registry.LocalMachine.CreateSubKey("software
\MyApp").SetValue("Licence", "Success")
I get error stating Access to HKEY_LOCAL_MACHINE\Software\MYapp denied
for Vista only.For XP no problem.If for Vista I give full control to
Myapp reg folder ,everything works fine.Is it possible to create the
registry key with full controls permission in vb.net? or is there any
other way to solve this problem through vb.net.I don't want to give
permissions manually on reg key.
Thanks