注册表问题,高手进。。。在线等等所有分都给了
RegistryKey software = hklm.OpenSubKey ( "HARDWARE", true ) ;
RegistryKey dddw = software.OpenSubKey ( "aaa" , true ) ;
dddw.SetValue ( "bbb" , "abcd" ) ;
比如说bbb项的值为:
C:\Program Files\Internet Explorer\iexplore.exe http://www.68la.com/
而
dddw.SetValue ( "bbb" , "abcd" ) ;
却把C:\Program Files\Internet Explorer\iexplore.exe http://www.68la.com/ 修改成了abcd
有没有方法可以截取只修改http://www.68la.com/ 为abcd 而C:\Program Files\Internet Explorer\iexplore.exe这个值不要修改?