You can find the Memory Compression Sample Application for Visual Basic 6 in:
SAMPLES\VISUAL BASIC 6\MEMORYCOMPRESSION
This sample application provides you with an example that sends compressed data through a socket (using the built in VB socket controls).
To use the sample, load the MEMORY.VBP project file, then build and run the program.