Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy process with OLE ProgressBar
Message
From
26/03/1998 11:31:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/03/1998 09:46:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00086355
Message ID:
00087323
Views:
50
>Great idea . Thank You ! It worked nice , except the time . The normal copy process of a 16,5MBytes file lasts 24 seconds . The copy process using low level functions in MS Visual Fox lasted 75 seconds for the same file (!). In the do ... while routine I introduced the Fflush() function and the process lasted 28 seconds because I noticed that most time was lost at the end of the copy process (the transfer from cache memory). Sorry for waisting your time if you already knew all these . Good luck !
Oh, you do it for one file. Than you could also try to increase the value of fread() from 65535 to filesize/100 or /20. So updatetherm would be called as much needed depending on the bar count (ie: if each bar in therm correspond to 5% then fread() would use fsize/20). I think it'll even be faster.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform