|
-
September 29th, 1999, 05:54 AM
#1
Merging Binary Files? Is it possible?
Is it possible to merge two binary files while only using one buffer?
E.G.
Read Stuff into ByteArray BA1
Open File 1
Goto EOF File1
Put BA1 into File 1
Close File1
The problem with this is that VB truncates the last character in File1.
One way it does work is when you read both files into two byte arrays, concatenate the arrays and write this back to the file. But if you want to append 2K to a 32MB file this is ridiculous...
Any ideas?
Thanks,
Rob.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|