*/
If you have a PH account, you can customize your PH profile.
*/

View \README.TXT

Splitting/restoring large files in VB4

Submitted By: Unknown
Rating: (Not rated) (Rate It)


"Splitting/restoring large files in VB4"

Hello,

in my database-app I will make it possible for the user to backup and restore the
used database directly from the app.

My idea is, that when the database is to big to fit on the destination, my app split
the file in various parts an store them an some disks/medias.

I found a good function an my VB-CD to copy files with the API OpenFile, but it works
only in "one flush" and it is unpossible for me to modify them so, that it copies in
seperated filse / restore them back in one file. Well - I know that there is something
with the filepointer and SEEK - but this is realy to hard for me to understand...     ;-)

So here I am: Have anyone an idea how it fits or a ready function/solution?

BTW - The  API OpenFile is realy fast!!! I drop the modified 32bit sourcecode here
in the Forum as 'API_COPY.ZIP; includes the description from the org. source and two
functions - as "give away" for tile-fill the form without API and to call common dialogs in
pure API.         :-)

THX for Your help.

Regards

Matthias Zoellner; (Berlin/Germany)
CompuServe: 100427,3544
100427.3544@CompuServe

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.