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.