So you want to use simple thread program for achive this one. You may use the marquee style progress bar or show animated gif images for showing the progress. Liebe Grüße Stefan | Cheers Stefan I'm using VB 2008 and VB 2010 Express Be a good forum member - mark posts that contain the answers to your questions or those that are helpful. The difference can displayed as progressbar value. Only if the copied file can verified (name and size) in this folder ncrease the progressbar value.Ī professional method is to look for free disc space first and compare the size of all files which should be copied in the source folder with the chance of disc space. I guess to implement a verification of copying in the destination folder. At the end of this loop encreas the value of your progresspar bis the calculated value. 100 / number of files is the procentual size of a single file (independence of the real size!).Ĭopy your file in a for next loop. you receive a number of files = 2015 files. I guess to count the files which should be copied to get a number as reference for 100% (this is not the best method but it works).Ĭalculate the prcentual part of a single file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |