Images:http://continuousexcellence.com/images/menu.png[^] http://continuousexcellence.com/images/registry.png[^]
RegistryKey key; key = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo"); string MUIVerb = "Universal Send To"; string ExtendedSubCommandsKey = @"*\shell\UniSendTo\MainMenu"; key.SetValue("MUIVerb", MUIVerb); key.SetValue("ExtendedSubCommandsKey", ExtendedSubCommandsKey); RegistryKey key1 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu"); key1 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu\shell"); RegistryKey key2 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu\shell\HomePC"); string MUIVerb1 = "Home PC"; key2.SetValue("MUIVerb",MUIVerb1); string ip = "192.168.1.22"; key2.SetValue("IP",ip); RegistryKey key3 = Registry.ClassesRoot.CreateSubKey(@"*\shell\UniSendTo\MainMenu\shell\HomePC\command"); key3.SetValue("",@"H:\ERT\FileTransfer.exe");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)