Sign in to follow this  
Followers 0
Necromorph

Progress bar

5 posts in this topic

can you set a progress bar to a file copy,

with the example in the help doc, it seems that you would have to know the increment of time, but what if it takes longer from one pc to another.

i probably just missing something obvious. so sorry if this is a dumb question.

thanks

Share this post


Link to post
Share on other sites



I haven't tried it, but here's a thought. I wonder if you can filegetsize on the file as it is being copied to it's new location

ie copying c:\temp.txt to d:\temp.txt and using file get size on d:\temp.txt

if that can work then you can set a variable linked to the file size and periodically check the file size and use that for your progress bar

?


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

thats a good thought, i will experiment with that. thanks a lot for you reply.

Share this post


Link to post
Share on other sites

okay, can't quite get this to work, when i try to do it, it runs in progression of the filecopy, then the progress bar, i can't quite get it to run at the same time. open to suggestions. thanks

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

whatever Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0