UnZip

Posts 1–5 of 5 · Page 1 of 1
UnZip
Im using SharpZipLib . . . But I have one error

Code:
Dim unz As New Zip.FastZip
        unz.ExtractZip(TextBox2.Text, TextBox1.Text, "")
It gives me the error (Cannot find central directory.) any help?

Thanks
What's the textbox1/2's text?

Does the packed file have a password?
Textbox1 File to unzip, Textbox2 File destination. No pw
[highlight="VB.Net"]Private Sub UnpackFile(Byval FileToUnpack as string,byval WhereToSave as string,optional byval Password as string = "")

if io.file.exists(filetounpack) then
dim unz as new zip.fastzip
unz.password = password
unz.extractzip(filetounpack,wheretosave,"")
else
Msgbox("File to unpack is not found.")
end if
end Sub[/highlight]

What EXACTLY is in the textboxes?

Tell me the exact pathes.
Ah, Ok

Code:
textbox1:C:\Documents and Settings\HP_Administrator\Desktop
textbox2:C:\Documents and Settings\HP_Administrator\Desktop\Image Dowloader.rar
--------------

The cannot find central directory error continues
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?