<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Export Infopath xml-File to Pdf with Managed Code</title><link>https://www.infopathdev.com:443/forums/thread/66753.aspx</link><pubDate>Mon, 23 May 2011 18:30:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66753</guid><dc:creator>BJ Johnston</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=66753</wfw:commentRss><description>&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;Have you tried one of the the free PDF tools that installs as a virtual printer (i.e. CutePDFWriter)?&lt;/p&gt;</description></item><item><title>Re: Export Infopath xml-File to Pdf with Managed Code</title><link>https://www.infopathdev.com:443/forums/thread/66680.aspx</link><pubDate>Thu, 19 May 2011 17:16:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66680</guid><dc:creator>wmholt</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=66680</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Kalyan,&lt;/p&gt;&lt;p&gt;I know that there have been four years since you posted that link, but I am interested in exporting an InfoPath form to PDF.&amp;nbsp; The web site is now parked and no longer has the content you referenced.&amp;nbsp; Do you have any other links that have similar information?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;&amp;nbsp;William H.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Export Infopath xml-File to Pdf with Managed Code</title><link>https://www.infopathdev.com:443/forums/thread/22463.aspx</link><pubDate>Tue, 21 Aug 2007 13:37:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22463</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22463</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Please read the Link below&lt;/p&gt;
&lt;p&gt;&lt;a href="http://enterprise-solutions.swits.net/infopath2007/export-infopath-2007-form-to-pdf.htm"&gt;http://enterprise-solutions.swits.net/infopath2007/export-infopath-2007-form-to-pdf.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope it will help you&lt;/p&gt;</description></item><item><title>Export Infopath xml-File to Pdf with Managed Code</title><link>https://www.infopathdev.com:443/forums/thread/22453.aspx</link><pubDate>Tue, 21 Aug 2007 07:22:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22453</guid><dc:creator>Thea3211</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22453</wfw:commentRss><description>&lt;p&gt;Hello!&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying to export an Infopath 2007-Form to PDF/XPS with Managed Code. The problem was discussed in several posts in this forum, but none of the solutions were really suitable&lt;br /&gt;for me, so I try one more attempt. I&amp;#39;ve installed the Infopath 2007 - AddIn and was succesful this way:&lt;br /&gt;&lt;br /&gt;infPath = @&amp;quot;C:\toexport.xml&amp;quot;;&lt;br /&gt;Microsoft.Office.Interop.InfoPath.Application InfApp = new Microsoft.Office.Interop.InfoPath.Application();&lt;br /&gt;XDocument InfXDoc = InfApp.XDocuments.Open(infPfad, (int) XdDocumentVersionMode.xdCanOpenInReadOnlyMode);&lt;br /&gt;InfXDoc.View.Export(@&amp;quot;C:\exported.pdf&amp;quot;, &amp;quot;PDF&amp;quot;);&lt;br /&gt;InfXDoc.View.Export(@&amp;quot;C:\exported.xps&amp;quot;, &amp;quot;XPS&amp;quot;);&lt;br /&gt;InfApp.Quit(true);&lt;br /&gt;InfApp = null;&lt;br /&gt;&lt;br /&gt;There ist only one fault: Infopath opens an application window and shows the form. Does anybody knows a way to access the file without the window?&lt;br /&gt;And can i select the view i want to export? Seems it always takes the standard-view?&lt;br /&gt;&lt;br /&gt;Thank You!&lt;/p&gt;</description></item></channel></rss>