{"Index was outside the bounds of the array."}
FileStream fileStream;
ZipFile zipFile;
ZipEntry zipEntry;
ZipOutputStream zipout;
Stream stream;
Bitmap bitmap;
fileStream = new FileStream("D:\\Sunset1.gzip", FileMode.Open, FileAccess.ReadWrite);
zipout = new ZipOutputStream(fileStream);
zipFile = new ZipFile(fileStream);
zipout = new ZipOutputStream(fileStream);
zipEntry = new ZipEntry("D:\\Sunset.jpg");
stream = zipFile.GetInputStream(zipEntry);
bitmap = new Bitmap(stream);
pictureBox1.Image = bitmap;
Master BillaPosted Sep 11, 2009, 12:40 PM
I think so some issues in your zip file, can u recreate the file and try again. because its given in ZipStream extracting time.
try and let me know or post whole code here
Thank you