Files extracting all at once.

Aug 27, 2012 at 2:33 AM

Hi. I am having a problem getting to extract one file at a time with SevenZipSharp. Instead my project extracts all the files at once freezing my program. I figure I could use the ExtractionFinished Event but I have no idea how that would work for as I have only seen examples for C# code.

Aug 31, 2012 at 9:53 PM

Ok. I got it now. You can close this.

For those of you wondering:

    Private Sub ext_ExtractionFinished(ByVal sender As Object, ByVal e As EventArgs)
        MessageBox.Show("Extraction Completed")
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim ext As SevenZipExtractor = New SevenZipExtractor("C:\Test.7z")
        AddHandler ext.ExtractionFinished, AddressOf ext_ExtractionFinished
    End Sub