<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Unzip XSN file in C#</title><link>https://www.infopathdev.com:443/forums/thread/14339.aspx</link><pubDate>Sun, 26 Feb 2006 21:38:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14339</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14339</wfw:commentRss><description>The XSN file is really a CAB  file. Try checking out the Microsoft CAB SDK here&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://support.microsoft.com/?scid=kb;EN-US;310618&gt;http://support.microsoft.com/?scid=kb;EN-US;310618&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;hth</description></item><item><title>Unzip XSN file in C#</title><link>https://www.infopathdev.com:443/forums/thread/12790.aspx</link><pubDate>Sun, 26 Feb 2006 08:44:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12790</guid><dc:creator>SvetlanaBakshe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12790</wfw:commentRss><description>I need to extract XSL file from XSN file in C#.&lt;br /&gt;I try to unzip XSN using library Java.util.zip.&lt;br /&gt;&lt;br /&gt;When I use class ZipFile I get the following exception:&lt;br /&gt;&lt;i&gt;"Exception of type java.util.zip.ZipException was thrown." &lt;/i&gt;without any additional information.&lt;br /&gt;&lt;br /&gt;If I use class ZipInputStream no entry is available:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;FileInputStream fis=new FileInputStream(txtXsn.Text);&lt;br /&gt;BufferedInputStream bis=new BufferedInputStream(fis);&lt;br /&gt;ZipInputStream zis=new ZipInputStream(bis);&lt;br /&gt;ZipEntry ze=null;&lt;br /&gt;while ((ze=zis.getNextEntry())!=null) &lt;br /&gt;{&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;}&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Is XSN file can be unziped from C#? Which classed should I use?&lt;br /&gt;&lt;br /&gt;Thanks.</description></item></channel></rss>