I need to extract XSL file from XSN file in C#.
I try to unzip XSN using library Java.util.zip.
When I use class ZipFile I get the following exception:
"Exception of type java.util.zip.ZipException was thrown." without any additional information.
If I use class ZipInputStream no entry is available:
FileInputStream fis=new FileInputStream(txtXsn.Text);
BufferedInputStream bis=new BufferedInputStream(fis);
ZipInputStream zis=new ZipInputStream(bis);
ZipEntry ze=null;
while ((ze=zis.getNextEntry())!=null)
{
.
.
.
}
Is XSN file can be unziped from C#? Which classed should I use?
Thanks.