"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:eK******** ******@TK2MSFTN GP12.phx.gbl...
"Justin Busch" <jb****@ccac.ed u> schrieb:I thought I saw an article online about programmaticall y 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 CompressedFolde r.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 CompressedFolde r
foldertozip = new CompressedFolde r(filepath + filename)
foldertozip.com pressFile(filep athoffolder)
I am receiving an error saying that CompressedFolde r is not declared.
Thank you in advance for you assistance.
Justin Busch
jb****@ccac.edu