Ver Mensaje Individual
  #4  
Antiguo 27-07-2006
Avatar de seoane
[seoane] seoane is offline
Miembro Premium
 
Registrado: feb 2004
Ubicación: A Coruña, España
Posts: 3.717
Reputación: 24
seoane Va por buen camino
Con WriteInteger puedes hacerlo sin problemas:

Código Delphi [-]
with TRegistry.Create do
  try
    RootKey:= HKEY_CURRENT_USER;
    if OpenKey('\Software\Pruebas',TRUE) then
    begin
      WriteInteger('Prueba',25);
      CloseKey;
    end;
  finally
    Free;
  end;
Responder Con Cita