Hey!
I'm trying to create a app that will add some reg keys. But I need to change the default value. How can I do it? I don't work :@
Imports Microsoft.Win32
Public Class Form1
Dim regstr As RegistryKey = Registry.ClassesRoot
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
regstr.OpenSubKey("*\shell", True)
regstr.CreateSubKey("*\shell\runas")
regstr.SetValue("@", "Should be the default value")
End Sub
End Class
Thanks!