New topic: MoveFileTo with progressBar
<http://forums.realsoftware.com/viewtopic.php?t=32136> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message asksteve Post subject: MoveFileTo with progressBarPosted: Fri Jan 22, 2010 12:56 am Joined: Sun Jul 05, 2009 3:12 pm Posts: 60 Location: Ajax, Ontario Canada Is it possible to use MoveFileTo and have a progressBar show the progress? I have large files that take time to copy. I was just thinking it through and I guess I would need the original file size and then compare the size of the new file being written. I would need the progressBar code in a thread wouldn't I? So that the copying and updating all happen at the same time? Just wondering if anyone has done this before and had some advice before I start plowing through it. Thanks Top computerfreaker Post subject: Re: MoveFileTo with progressBarPosted: Fri Jan 22, 2010 1:55 am Joined: Thu Mar 05, 2009 1:03 pm Posts: 1483 Location: USA If you're on Windows, you can use an API call to have the OS move the file and show the standard "Moving file" dialog. If you're on Mac or Linux, I'm not sure... Do you want the OS to show the "Moving file" dialog, or is this something specifically within your app? _________________ With great power comes great responsibility. Learn something new every day, and the rest will take care of itself. Life is a journey, not a destination. Enjoy the trip! Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
