General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2000 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only