|
-
Dec 31st, 2007, 01:56 PM
#1
Thread Starter
Addicted Member
create a ZIP Tool.
Okay basically I want tomake a program where the user selects files of their pc. and then my program will put them all into a ZIP folder.
Anybody know how I can do that?
[email protected]
Currently Using:
Microsoft Visual Basic 2008 Expess Edition
Windows Vista Home Basic
1280 x 1024
Rank:
Novice
-
Dec 31st, 2007, 02:02 PM
#2
Frenzied Member
Re: create a ZIP Tool.
Try searching the CodeBank for the ZIP class or sth. similar. I remember seeing something like that there. From there on it should be a piece of cake.
-
Dec 31st, 2007, 04:20 PM
#3
Frenzied Member
-
Dec 31st, 2007, 09:39 PM
#4
Re: create a ZIP Tool.
Given that that Polar Software tool is ActiveX I'd avoid it.
There are two submissions in the CodeBank that would be relevant. Shaggy Hiker (I believe) submitted code that made use of the Java ZIP functionality via J#. J# has been discontinued by Microsoft so I'd probably avoid that now.
I submitted code that used SharpZipLib. I would suggest that that's the way to go. SharpZipLib is open source and is still being developed. There's at least one newer version been released since I wrote that code for .NET 1.1. I would suggest that you download the newest version and then reference it in your own project. You can then use my code as an example of how to interact with the SharpZipLib library.
-
Jan 1st, 2008, 03:44 PM
#5
Re: create a ZIP Tool.
I use the ShaprZipLib - works quite well with the ZIP formats I use.
-
Jan 2nd, 2008, 07:46 AM
#6
Frenzied Member
Re: create a ZIP Tool.
 Originally Posted by jmcilhinney
Given that that Polar Software tool is ActiveX I'd avoid it.
I'm just curious as to why you say to avoid this because it is an ActiveX. Are ActiveX components bad?
-
Jan 2nd, 2008, 05:35 PM
#7
Re: create a ZIP Tool.
 Originally Posted by nbrege
I'm just curious as to why you say to avoid this because it is an ActiveX. Are ActiveX components bad?
ActiveX components are not inherently bad but they are not .NET components. If you're creating a .NET application then I think most people would agree that it's preferable to go all-managed if possible. If a COM component is your only choice then so be it but I'd sooner use a .NET component over a COM component if I had the choice.
-
Jan 2nd, 2008, 07:15 PM
#8
Re: create a ZIP Tool.
 Originally Posted by jmcilhinney
There are two submissions in the CodeBank that would be relevant. Shaggy Hiker (I believe) submitted code that made use of the Java ZIP functionality via J#. J# has been discontinued by Microsoft so I'd probably avoid that now.
ary.
It wasn't me, I've always avoided Java and J#.
My usual boring signature: Nothing
 
-
Jan 2nd, 2008, 07:29 PM
#9
Re: create a ZIP Tool.
 Originally Posted by Shaggy Hiker
It wasn't me, I've always avoided Java and J#.
Probably kleinma then. For some reason I always get you two mixed up.
Yeah, it was kleinma. Just had a look. I need to remember that you're the devilishly handsome, James Bond type of the two.
-
Jan 2nd, 2008, 11:01 PM
#10
Re: create a ZIP Tool.
Actually, I'm the old one (compared to Kleinma).
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|