example of using EasyZIP.dll in fox pro

example of using EasyZIP.dll in fox pro

Postby dragos_c_a on Wed Mar 19, 2003 6:50 pm

I"m quite new in Fox Pro programming, and i would be happy if anyone can help me with a simple visual foxpro example, which creates a EasyZip object and zips one file. Thanx. (Visual Basic source code would also be helpful)-because the example section on this site isn"t working!

Posts: 1
Joined: Wed Mar 19, 2003 6:45 pm
Location: Romania

Postby John on Thu Mar 20, 2003 10:57 am

I don't known the fox Pro language but this is a VB code that works fine:

Dim ZIP As New aspZIP.EasyZIP

ZIP.ZipFileName = "Test.zip"
ZIP.ArgsAdd "filename.exe"
If ZIP.Error <> 0 Then MsgBox ZIP.LastMessage

On VB you must add a reference library for the aspEasyZIP, I don't known if you must do the same action on Fox Pro.

John Lohmeyer
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Return to Zip

Who is online

Users browsing this forum: No registered users and 1 guest


Fatal error: Not able to open ./cache/data_global.php in D:\Hosting\6480136\html\ForosBB3\includes\acm\acm_file.php on line 106