12-29-2005 02:34 PM
12-30-2005 03:40 AM
LabVIEW uses the Win32 API file functions and they have no understanding of ZIP files at all. What you see in the XP Explorer is a so called shell extension that makes appear ZIP files as a directory. Only applications built on top of the shell32 COM like API can deal with this model, and one of the only applications doing that is the Windows File Explorer (or some of its third party replacements).
@bridge guy wrote:Hi Everyone,I was wondering if anyone knows how to programmatically move or copy a data file into an empty compressed(zipped) folder that has been made by the WindowsXP zipping utility. I can manually drag and drop my files into the zip file to have them compressed by WindowsXP, but I need to accomplish that move or copy programmatically in Labview 7.1. When I try to use the copy or move vi's in Labview, I get an error because my target path has a ".zip" extension. I would appreciate any help that you can provide.Thanks,Bridge Guy
12-30-2005 09:14 AM
12-30-2005 04:06 PM - edited 12-30-2005 04:06 PM
Message Edited by altenbach on 12-30-2005 02:06 PM
12-31-2005 02:10 AM
One caveat here! Those functions only support adding a file to a ZIP archive. You can't extract them or do any other things to a ZIP archive including password support.
@altenbach wrote:
On a sidenote: if you would upgrade to LabVIEW 8.0, you'll have all the tools you need right in the file I/O palette. 😄Message Edited by altenbach on 12-30-2005 02:06 PM