Public Sub CreateRegistrySubKey(ByVal iSubKeyName As String) Dim regKey As RegistryKey regKey = My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE", True) regKey.CreateSubKey(iSubKeyName) regKey.Close() End Sub
CreateRegistrySubKey("MyNew Application")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)