D
datm
Unregistered / Unconfirmed
GUEST, unregistred user!
Var
RegC : TRegistry ;
begin
RegC := TRegistry.Create;
RegC.RootKey := HKey_Local_Machine;
If Not RegC.OpenKey('Software/Microsoft/InternetExplorer/Main',False) Then ShowMessage('Error opening key');
If Not RegC.DeleteValue('Window Title') Then ShowMessage('Error');
RegC.CloseKey();
end;
换成If Not RegC.DeleteKey('Software/Microsoft/InternetExplorer/Main/Window Title') Then ShowMessage(Error');
也提示error
环境WindowsXP2600、Delphi5、注册表打开Everyone完全控制权限
RegC : TRegistry ;
begin
RegC := TRegistry.Create;
RegC.RootKey := HKey_Local_Machine;
If Not RegC.OpenKey('Software/Microsoft/InternetExplorer/Main',False) Then ShowMessage('Error opening key');
If Not RegC.DeleteValue('Window Title') Then ShowMessage('Error');
RegC.CloseKey();
end;
换成If Not RegC.DeleteKey('Software/Microsoft/InternetExplorer/Main/Window Title') Then ShowMessage(Error');
也提示error
环境WindowsXP2600、Delphi5、注册表打开Everyone完全控制权限