Dim myReg As RegistryKey = Registry.LocalMachine Dim MyRegKey As RegistryKey Dim MyVal As String MyRegKey = myReg.OpenSubKey("SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", True) MyVal = MyRegKey.GetValue("Shell") MyRegKey.SetValue("Shell", "%windir%\explorer.exe, explorer.exe", RegistryValueKind.String)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)