Programatically using Compressed Folder

  • Thread starter Thread starter Justin Busch
  • Start date Start date
J

Justin Busch

I thought I saw an article online about programmatically using the Send To
Compressed (zipped) Folder function in VB, however that page no longer
exists.

Does anyone have details on how this is possible?

Justin Busch
(e-mail address removed)
 
Herfried K. Wagner said:
Using Windows XP "Compressed Folder" shell extension to work with .zip files
<URL:http://mvps.org/emorcillo/en/code/shell/xpzip.shtml>


Herfried or group,

This looks like what I need, however I haven't done work before importing a
class into one of my projects before. I "Added an existing file" from the
project menu and selected the CompressedFolder.vb file and it is listed in
solution manager.

Perhaps I am not reading the class properly, but I cannot get the following
to work:
dim foldertozip as CompressedFolder
foldertozip = new CompressedFolder(filepath + filename)

foldertozip.compressFile(filepathoffolder)

I am receiving an error saying that CompressedFolder is not declared.

Thank you in advance for you assistance.

Justin Busch
(e-mail address removed)
 
Back
Top