473,804 Members | 3,191 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programatically using Compressed Folder

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.

Does anyone have details on how this is possible?

Justin Busch
jb****@ccac.edu
Nov 21 '05 #1
3 5970
Hi,

Open Source Zip compression library
http://www.icsharpcode.net/OpenSourc...b/Default.aspx

Using the J# zip classes.
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Ken
-----------------
"Justin Busch" <jb****@ccac.ed u> wrote in message
news:%2******** *******@TK2MSFT NGP15.phx.gbl.. .
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.

Does anyone have details on how this is possible?

Justin Busch
jb****@ccac.edu

Nov 21 '05 #2
"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/>

Nov 21 '05 #3

"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
Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3398
by: Roland Hall | last post by:
It appears what I'm reading is that Windows 2K3, like XP, supports what MSFT calls a compressed zipped folder. Is this exposed so I can effectively use FSO or a shell to create one of these and move some files into it and then offer it as a download on my web site? -- Roland Hall /* This information is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or...
3
10441
by: gudia | last post by:
I want to Programatically generate Access reports in the pdf format using some tool and then email them to people in the same code. Right now I am trying to do this with pdf995 using VBA (emailing is a separate issue, which pdf995 does not addresses). I downloaded pdf995. It controls printing via pdf995.ini file. In the VBA code, I have DoCmd.OpenReport "Report2", acViewNormal. I am having the following problems right now. (a) I do...
0
393
by: Vladimir Nesterovsky | last post by:
Hello, I'm having a trouble with a Shell.Folder object when I'm trying to use it from a C++ application, but at the same time, the same object works fine from within html script. The effect is that, I cannot put data into a compressed folder in C++, in spite of the fact that all operations succeed. Note: all this have to work under XP and above, because of integrated
0
1843
by: jason | last post by:
I googled a lot, couldn't find a good solution. Any help is greatly appreciated. What I want to do is: Given a web page in a running IE browser , i want to save an image in this web page to my local folder programatically in C#/VB.net. But i couldn't save the image from its src attribute of IMG tag, because that src is generated using ajax, the image is gone from server after it is sent back to client. So the only way to save the...
0
2197
by: Craig Buchanan | last post by:
when i try to open a file that has been compressed with GZipStream (source from microsoft's 101 Samples for Visual Studio 2005), i get an "invalid archive" message from winzip, zipgenius and xp's compressed folder app. using DeflateStream resulted in the same error. am i missing something simple? thanks, Craig Buchanan
3
17262
by: The Woo | last post by:
Can one programatically create a file folder which has the same name as a key field, using a command button? Or, Can there be a a command button which opens up a directory tree to a specified location. I'm thinking this is a visual basic-related question? Why? I have a client tracking database. When the client's record is
0
1540
by: Paul.Hawkes | last post by:
All I'm having trouble getting the following to work. I have been able to download and delete a file with the same credentials and similar code, but when I try upload the file. I get a returned error of "The Remote server returned an error: (500) Internal Server Error." from the SPS. Is there something that must be set up on SPS to allow a "PUT" or am I missing something. I am using very similar code to delete and download a file...
11
10618
by: MadMonk | last post by:
Hi, I need to write a small Windows application (console or forms) (for Windows XP SP2 & Windows Server 2003), which will check a folder for the presence of some files, and if they exist, it will zip the files using the inbuilt Compressed files functionality of Windows (same as the Context Menu -Send to -Compressed (zipped) folder). I cannot use any other third party tool (like winzip etc.) because of some non-technical constraints.
1
5549
by: jags | last post by:
HI All I was trying to create Document librray programatically in a Sharepoint Site and is not working for me.I was trying to implement this as an Event Handler. The aim of the code is to create a Folder with the same name as in folder which has been added.For eg if i am creating a folder titled A in a Doc library called A1 then I shud have a folder names A in a document library called as 'Request for Proposals' (this is predifened) below...
0
9585
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6856
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.