用copyfile函数不能判断拷贝的进度吧,如果一定要用progressbar那就改用readfile,writefile,filesize可以通过文件的大小,但前复制的位置来判断进度。
解决方案 »
- 请大家帮忙看看问题出在哪
- 一个简单问题(急)
- 用ADOQuery建了一个临时表#temp, 如何知道这个表是否存在 ?
- Monthbetween的BUG?求月份的差数不正确!!!
- 评高工,大家有什么建议
- 如何不分大小写实现字符查找,即查找“aa”在“eeAaee”中,POS要分大小写啊
- DOCM服务器,客户端,如何配置?
- 请教如何让EDIT中只能输入数字?
- 兄弟们解决解决没办法了哎呀!!!!!急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!急急!!!!!!!!!!站等
- 分组求和问题
- 哪位可以教一下怎么查詢局域网中的sql服務器?為什么我的就不行???????
- 用流做图片的合并!然后在解出每张图片?
sourcefile,destfile:file;
i,j:integer;
p:array[0.1] of char;
begin
assignfile(sourcefile,rbedit1.Text);
reset(sorcefile,1);
assignfile(destfile,rbedit2.Text);
rewrite(destfile,1);
ProgressBar1.posotion:=0;
repeat
blocaread(sourcefile,p,sizeof(p),i);
blocawrite(destfile,p,sizeof(p),j);
ProgressBar1.posotion:=ProgressBar1.posotion+2;
until (i=0 or i<>j)
closefile(sourcefile);
closefile(destfile);
end;