Advertisement
ASP_Volume2 Databases/ Data Access/ DAO/ ADO #31304

_*Smooth Packing code*_

The code purpose is basically to show you how to add multiple files into one single archive structure and to be able to extract the file successfully without no loss of bytes. Any size files can be added in. A swap techneque is used so that in a loop only 1 meg of data is extracted from the file, plus also to save more memory instead of caching large files into memory. I've kept the code basic and easy to use because this is how coders like it. Functions are easy to extract from the code and problems are easy to minipulate.. not saying their is any of course. I've managed with a larger project to fit over 70000 files into an archive with no archive damage or errors, but after that amount of files the speed of file look up does get pretty slow, lol. This is optimized for all versions of vb I believe so it's a good piece of code. Please rate, comments would be good. Thank you for the input. Ps this code can be classed as a file database in a way, you just need to know how to implement it into your applications. Same goes for information instead of files adding, all you have to do is modify the functions to fit specifications.

AI

Podsumowanie AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kod źródłowy
original-source
Upload
Oryginalne komentarze (3)
Odzyskane z Wayback Machine