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 12:38:53 PM (Central Daylight Time, UTC-05:00)  #    Comments [9]
Saturday, October 21, 2006 9:28:44 PM (Central Daylight Time, UTC-05: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 3:56:31 PM (Central Daylight Time, UTC-05: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 2:03:16 AM (Central Daylight Time, UTC-05: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 (Central Standard Time, UTC-06: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 (Central Standard Time, UTC-06: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 (Central Standard Time, UTC-06: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 (Central Standard Time, UTC-06: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 (Central Daylight Time, UTC-05:00)
Jacan,

I used the program to zip 40+ *.xls without any problem
cdfornal
Thursday, May 10, 2007 10:40:57 AM (Central Daylight Time, UTC-05: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
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, super, u)  

Enter the code shown (prevents robots):


 

Archive

<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456