title: Writing chunks of byte array to file VB6
body: <p>I am looking for a effective/efficient way in VB6 to take a byte array split it into "chunks" and write each "chunk" to a file. The reason behind this is so that as each "chunk" gets written I can call <code>RaiseEvent WriteProgress(BytesDone, BytesTotal)</code> in order to update a progress bar elsewhere. Any suggestions on loop structure etc. is much appreciated.</p>