How to use SevenZipSharp in Visual Basic 2005

Dec 30, 2010 at 6:28 AM

Hi all,

I need to extract all the .z files in a specific folder using How to use SevenZipSharp to achive this? Can anyone explain me with code examples how to achive this?

Kindly do the needful.


Sakthidasan Viswanathan




Dec 30, 2010 at 10:13 PM
Edited Dec 30, 2010 at 11:16 PM

Could you tell me what you have done for not having the following bug: Can not load 7-zip library or internal COM error! Message: failed to load library.
for now I blocked the above
Here is an part of my code in 2010 :
Imports SevenZip

sub extract(destindl as string)
If File.Exists(Application.StartupPath & "\7z.dll") = True Then
                SevenZipExtractor.SetLibraryPath(Application.StartupPath & "\7z.dll")
                Principal.voirinfo("Not Found 7z.dll")

                exit sub
            End If
Dim ext As SevenZipExtractor = New SevenZipExtractor(destindl) 'here error

end sub
excuse me for my bad english and thanks you for your help

my answer is my project for x86 and my version I used was of 7z.dll x64