Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unzip Files Using Dynazip
Message
From
16/04/2008 08:55:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01311036
Message ID:
01311048
Views:
22
It's kind of hard to explain without being able to show you but you know when you open a zip file using a utility like winzip and there is field labled "Path". If there is a path under this field the code I'm using to extract the files does not work but if the files are zipped up without including the path, the files extract without any problems.


Sample Code:
ThisForm.Olecontrol2.zipfile = zip_file
ThisForm.Olecontrol2.filespec = extract_files
ThisForm.Olecontrol2.destination = work_dir

_VFP.AUTOYIELD = .F.
ThisForm.Olecontrol2.QuietFlag = .T.
ThisForm.Olecontrol2.AllQuiet = .T.
ThisForm.Olecontrol2.OverwriteFlag = .T.
ThisForm.Olecontrol2.actiondz = 8
_VFP.AUTOYIELD = .T.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform