# Sunday, October 15, 2006

Fixes to VFP Compression FLL

There were some issues with the ZipString() and UnzipString() functions that have now been fixed. Also, the ZipOpen function was not working correctly when the following syntax was used...

?ZipOpen("MyZipFile.zip", "C:\", .F.)

Issues remain

There are still some issues with creating zip files and adding contents when they are not along the path of the files or folders being added when relative paths are being respected. These issues are being worked on, but I wanted to get this update posted since it fixes some of the other issues that have been posted. It should be noted that these issues do not make the FLL unuseable, but does limit some of the more advanced zipping functions that a developer might like to perform.

All links to this library point to the updated version of the FLL now. So, you can download the FLL from the link below or from any of the links provided in my previous blog entries about this library.

VFP Compression Update:

VFPCompression FLL Download (34 KB approx.)

VFP Compression Documenation:

A previous post containing documentation and sample VFP code.

Sunday, October 15, 2006 1:38:53 PM (GMT Daylight Time, UTC+01:00)  #    Comments [10]
Saturday, October 21, 2006 10:28:44 PM (GMT Daylight Time, UTC+01:00)
Hi Craig, thanks (again) for the update! It appears that there is no version resource in the fll. Is it possible to add one for logistic purpose?

David
David Fung
Thursday, October 26, 2006 4:56:31 PM (GMT Daylight Time, UTC+01:00)
Craig,

This is great stuff...
How come you don't make the source available?
Using your articles I've been able to build a small fll just to learn. I recently set out to build a rar/unrar app with Foxpro 9, but it proved to be quite hard making calls to the winrar dll available from their site. I thought it would be much better to create a wrapper fll but that is way over my head. I imagine that you make calls to the zlib dll just as I would to the winrar dll. If I could see your code I think I cold learn a great deal, or perhaps some psudo code.

Thanks!!
Foxis TheBest
Friday, October 27, 2006 3:03:16 AM (GMT Daylight Time, UTC+01:00)
Hi Craig. As usual, your stuff will be very useful (although I won't be using it right away). Keep up the good work. Look forward to the result of your efforts in Sedna.

Thank yoou also for the references to Bernard Bout, who in turn gives lots of credit to Cesar Chalom. Colleages like these make all Fox people look good. Also, the advantages of GDI+ are now being felt.

Thanks to all involved.

Alex

Alex Sosa
Tuesday, November 07, 2006 4:26:15 PM (GMT Standard Time, UTC+00:00)
I'm liking what Ive seen thus far. Is it possible to use a wildcard to zip a number of common extension files, say ZipFile("*.DBF") (I know this doesn't work)?





Jacan
Jacan
Wednesday, January 03, 2007 8:21:57 AM (GMT Standard Time, UTC+00:00)
Please post the source! All user's requests, bug fixes would be done by contributors, improving your wonderful work.
Serge
Thursday, February 15, 2007 9:28:23 PM (GMT Standard Time, UTC+00:00)
This works well and is very clean. I am curious would it be possible to add compression level to ZipOpen() or maybe ZipFile()?
Scott Miller
Thursday, March 08, 2007 7:59:57 PM (GMT Standard Time, UTC+00:00)
This is one GREAT FLL!!!! Makes handling zip file a piece if cake, plus being able to compress stings is a super feature.

Is is possible to "bindevent" to any method/events in an FLL? If so, Can yon name the events for begin zipfile/end zipfile.

Thanks

Glenn
Glenn Domeracki
Wednesday, March 21, 2007 11:34:08 PM (GMT Standard Time, UTC+00:00)
Jacan,

I used the program to zip 40+ *.xls without any problem
cdfornal
Thursday, May 10, 2007 11:40:57 AM (GMT Daylight Time, UTC+01:00)
Hi Craig,
I'm trying o use your compression fll to unzip a Zipfile that's not created with the fll-library and the UnzipOpen() always returns a .F.
Is there a way for me to see what's the problem? (something like a GetLastError() call?)

Thanks,
Sietse
Sietse Wijnker
Saturday, March 14, 2009 12:28:25 PM (GMT Standard Time, UTC+00:00)
Good afternoon. The gambling known as business looks with austere disfavor upon the business known as gambling.
I am from Lesotho and now study English, give true I wrote the following sentence: "Save money on your airline tickets, if flexible with travel dates."

With love :p, Humphrey.
All comments require the approval of the site owner before being displayed.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview

 

Archive

<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789