"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
"Justin Busch" <jb****@ccac.edu> schrieb: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.
Using Windows XP "Compressed Folder" shell extension to work with .zip
files <URL:http://mvps.org/emorcillo/en/code/shell/xpzip.shtml>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
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
jb****@ccac.edu