Results 1 to 2 of 2

Thread: VB6 FileProgress [2007-12-24 release]

  1. #1

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002

    VB6 FileProgress [2007-12-24 release]

    This is a VERY simple progress bar control. What it does differently is that it has three useful methods: FileCopy, GetByteArray and GetString.

    FileCopy method returns True if succeeds in coping a file.

    GetByteArray method returns the complete file in a byte array.

    GetString method returns the file as a string (in the same way you read a regular file).

    Reading a file to byte array is optimized with a fake safearray so there is no needless memory movement involved at any point. All file handling is chunked to 64 kB. The progress bar updates automatically when using one of the custom methods. The progress bar has two events: Change and Progress. Change event occurs when the text percentage in the control has been updated. Progress event occurs when a visual change happened.

    This progress bar is also very lightweight and fast. It never updates itself if it doesn't need to. Min, Max and Value properties are supported so you can use it as a regular progress bar, too.

    Have a Merri Chrystmas!
    Attached Files Attached Files

  2. #2
    New Member
    Join Date
    May 2011

    Re: VB6 FileProgress [2007-12-24 release]

    Merri, can this be incorporated into a windows vb script that uses FileSystemObject and if so, how do you do it?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width