<p>لم يعمل الكود مع اني صححته لايوجد خطا لاكن لا يعمل<br><br><br></p>
PHP كود :
procedure TForm1.Button5Click(Sender: TObject);
begin
if(edit1.Text='') then begin
showmessage('empty !');
Abort;
End;
if FileExists(FileListBox1.Directory+Edit1.Text+'.mdb') then begin
showmessage('il''est existe déjà !!');
end else begin
CopyFile(PChar(FileListBox1.Directory+'model.mdb'),PChar(FileListBox1.Directory+Edit1.Text+'.mdb'),false);
// CopyFile('model.mdb',PChar(Edit1.Text+'.mdb'),false);
FileListBox1.Update;
END;
end;
end.

