PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → FileCopy with progress
FileCopy with progress
Iniciado por guest, 10,mar. 2015 20:44 - 3 respuestas
Publicado el 10,marzo 2015 - 20:44
Hello,

for a project where I'm working on, I need to be able to show the progress when copying big files.
I know that the fCopyFile method can be used for this, but this isn't giving me the "feedback" that I want.
I don't want the classic Windows-style progress indication, but I want to visualise the copy-proces with a progress-bar.
Is there a way to do this in Windev ? Or do I have to write my own bit-copier ?

grtz

Patrick
Publicado el 10,marzo 2015 - 22:39
Hi Patrick

I'm confused

fCopyFile allows the display of a progressbar
You want a progressbar
you don't want fcopyfile
??????????????
...

Best regards
Publicado el 10,marzo 2015 - 22:44
Hello Fabrice,

I want a progressbar, but not the one that fCopyFile offers.
I want to put a progress_bar in my window, for example PROGBAR_Copy and change the value of it when doing a filecopy.
As far as I know, the progressbar for fCopyFile is the "classical" windows filecopy progress window

grtz

Patrick
Publicado el 13,marzo 2015 - 08:06
what kind of files. What do you want to display.;

1 how mutch of one file is copied?
2 how many flies from the total numer of files have been copied?

1
For one file . Day a tekst file that you copy you can count the total of lines and after every time you copied a line add one to a count variabele. Then base the progressbar on the count variabele.

2
Would problebly work some similar way. Havenot done these kinds of things.


regards

Allard