Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB automatically running winzip to uncompress many files

Status
Not open for further replies.

reszek

Programmer
Jul 3, 2002
16
0
0
CA
Originally posted in the wrong forum:

I get serveral files every day which are winziped and all arrive at a specified location. From that location, on my server, I must copy the files, normally between 5-30, and run them manually on my computer then copy them back into the same folder. After doing this process a couple times i
got to thinking.

Is there anyway to copy these files with visual basic and then have VB run winzip, or parts of it, to uncompress the files then automatically copy them back into the folder?

any suggestions?

thanks in advance




 
Hi,

I was searching for something similar... I have found this page:
Didn't test it yet but it seems to be great. Besides it is free.

Hope this can help you.
Peep
 
hmmm, it has work on word to xml, which tells me the basic logic, but i still cant figure out the command for winzip, but thanks for the site, i bookmarked it for my other projects
 
There are command-line versions of (Win)Zip out there!!!
Simply use the Shell command in VB to access them...
(Probably a batch file would do fine as well...)
 
try the command line version of winzip. If you want to kick it old school you can actually write a batch file that will do this for you automatically. That way it will still be done whether you are at work or not
 
> winziped

Just to summarise: WinZip is not the issue; the compression algorithm used (pkzip) has been the public domain since 1989 (we'll ignore recent arguments between WinZip and PKWare about zip encryption). So all you need to do is read the freely available spec and then write your own unzipper code...

...ok, don't bother. Plenty of people have already produced libraries to do this (as hinted in several of the responses above). Don't bother with the command-line suggestions, since there are plenty of free OCX's available

Don't be fooled by people who want to try and charge you money for this kind of thing, or even worry about API DLLs. Try looking here for a variety of free and easy solutions:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top