Anybody knows how to unzip files in VB? Can I do it with FileCopy or I need to use Shell?
Thanks
Printable View
Anybody knows how to unzip files in VB? Can I do it with FileCopy or I need to use Shell?
Thanks
If you have WinZip or PKZip then these programs can be called from Shell command with parameters to unpack things.
John G
Search, in this forum, for WinZip or PKZIp and results there will tell you how to do it.
John G
<de-lurk>
Take a look at http://www.codeguru.com/vb/articles/1854.shtml - that wraps the unzip / zip operations in a nice simple class module.
</de-lurk>
Chris Eastwood
VBCodeLibrary - http://www.vbcodelibrary.com