Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for .NET | Custom Development Reply | PowerTCP Zip Compression for .NET Topics | Forums   
AuthorForum: PowerTCP Zip Compression for .NET
Topic: Issue with ArchiveItem
kldewitt87

From: USA
Posts: 1
Member Since: 07/07/14
posted July 7, 2014 5:11 PM

I am using your product to zip a folder(archive) with multiple files. I am trying to load a list of the files in the source directory onto a list view. I use Archive1.Items.Add(fileName) to add the list of files, which works.

However, once I get here:

For Each fileName As ArchiveItem In Archive1

It doesn't read anything and steps out of the loop right away. Is there any way to fix this?

Thank you,
Kathryn
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted July 10, 2014 2:44 PM

Is 'fileName' a string, or an ArchiveItem? Archive.Add(string) can be used to add new ArchiveItems by filename string to the Archive, but Archive.Items.Add() will add only the string as an object to the Archive, and should not be used.
Reply | PowerTCP Zip Compression for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX