Split Files of Any Size

Category:
Files and Directories
Type:
Snippets
Difficulty:
Advanced

Author: Waty

Version Compatibility:

More information:
This snippet contains two functions: 1 to split files into smaller "sub-files", and one to join those files back to the original file. The split is based on a byte size you specify as the second parameter of the SplitFile function. Refer to the comments for an example.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: