Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 27th, 2005, 08:05 PM
Authorized User
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to alantodd
Default Compressing and expanding files within an app

Hi Guys,

I have an application (written in MS ACCESS VBA) that needs to send a file to a user somewhere else. I am currently sending it via e'mail from within the app and it has been working fine for a long while.

However, the file is now getting larger (1.2 Mb) and since it compresses well with PK Zip (110 kb) I'm thinking it would be nice to be able to compress the file prior to sending.

I'm looking at using lz32.dll as this is the the native compression in Windows XP systems, however I'm finding a lot of problems locating any detailed (read:helpful) notes and examples of how to compress and expand the files.

Has anyone else used this successfully?


Any hints or suggestions?


Old May 8th, 2006, 04:12 PM
Registered User
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

There is an excellent article about zipping from VB.NET in http://www.codeproject.com/vb/net/CheckForZipFiles.asp which uses a SharpZipLib which is free to include in your projects.

~ Shaun

Similar Threads
Thread Thread Starter Forum Replies Last Post
C# app doesn't release files after creation gandaliter C# 2005 0 April 13th, 2007 12:40 PM
Compressing Picyures Brendan Bartley Access 3 November 22nd, 2006 03:59 PM
Expanding menu blaabil Javascript How-To 0 May 26th, 2005 12:21 PM
Permissions for Web app. files on server Jan_Ma All Other Wrox Books 0 June 28th, 2003 02:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.