What's the textbox1/2's text?
Does the packed file have a password?
Im using SharpZipLib . . . But I have one error
It gives me the error (Cannot find central directory.) any help?Code:Dim unz As New Zip.FastZip unz.ExtractZip(TextBox2.Text, TextBox1.Text, "")
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
Last edited by alvaritos; 06-11-2011 at 04:18 AM.