Fórum Erro do winzip ao efetuar backup! #263485

27/12/2004

0

Olá amigos, blz! Primeiramente qro desejar a todos um FELIZ ANO NOVO :D

Estou fazendo backup mas aparece o seguinte erro no winzip!

Action: Add (and replace) files Include subfolders: yes Save full path: no
updating receitas.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\receitas.DB
updating receitas.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\receitas.PX
updating damv.MB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.MB
updating damv.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.DB
updating damv.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.PX
updating usuarios.db
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\usuarios.db
updating usuarios.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\usuarios.PX
updating pagos.MB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.MB
updating pagos.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.DB
updating pagos.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.PX
updating pagos.TV
updating pagos.FAM
updating PDOXUSRS.LCK
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\PDOXUSRS.LCK
updating PARADOX.LCK
replacing old Zip file

Abaixo está o código do meu backup! Se puderem me ajudem!


procedure Tfrmbackup.cmdinibackupClick(Sender: TObject);
begin
dm.tbldamv.Active := false;
dm.tbldamv.Active:= false;
dm.tblusuarios.Active:= false;
dm.tblpagos.active := false;

ShellExecute(0,nil,´winzip32.EXE´, ´-a A:\backup.zip C:\Claudenir\damv\dados\*.*´,nil,sw_show);
exit;
Showmessage(´Cópia efetuada com sucesso!´);
frmbackup.close;



:D Desde já muito obrigado!


Claudenir.antunes

Claudenir.antunes

Responder

Posts

27/12/2004

Gandalf.nho

Você realmente fechou todos os datasets? Por acaso não está testando isso de dentro do ambiente do Delphi? Se não funcionar, a melhor coisa é chamar o winzip e fechar o programa antes de executar a cópia. Outra possibilidade é usar algum componente de compactação como o ZipMaster.


Responder

Gostei + 0

27/12/2004

Claudenir.antunes

Você realmente fechou todos os datasets? Por acaso não está testando isso de dentro do ambiente do Delphi? Se não funcionar, a melhor coisa é chamar o winzip e fechar o programa antes de executar a cópia. Outra possibilidade é usar algum componente de compactação como o ZipMaster.



Estou testando através do delphi! Há problema nisso?


Responder

Gostei + 0

27/12/2004

Gandalf.nho

Se você está testando de dentro do Delphi, deve ter forms abertos com datasets ativos o que explicaria as mensagens de erro do Winzip


Responder

Gostei + 0

28/12/2004

Claudenir.antunes

Se você está testando de dentro do Delphi, deve ter forms abertos com datasets ativos o que explicaria as mensagens de erro do Winzip
.






Muito Obrigado pela ajuda! FELIZ ANO NOVO! :D


Responder

Gostei + 0

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar