Ver Mensaje Individual
  #1  
Antiguo 28-04-2008
dtomeysoto dtomeysoto is offline
Miembro
 
Registrado: dic 2005
Posts: 173
Reputación: 21
dtomeysoto Va por buen camino
gracias amigo por tu pronta respuesta, luego de escribir este post encontré en la web el siguiente código muy parecido al tuyo.


Código Delphi [-]
 
function ResetAutoInc(FileName: TFileName; NewValue:Longint): Boolean;
begin
with TFileStream.Create(FileName, fmOpenReadWrite) do
try
Result := (Seek($49, soFromBeginning) = $49) and (Write(NewValue, 4) = 4);
finally
Free;
end;
end;

Última edición por dtomeysoto fecha: 29-04-2008 a las 13:35:46.
Responder Con Cita