<?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: Infopath 2010 export to pdf</title><link>https://www.infopathdev.com:443/forums/thread/68319.aspx</link><pubDate>Mon, 11 Jul 2011 20:35:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68319</guid><dc:creator>tberch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68319.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=68319</wfw:commentRss><description>&lt;p&gt;The best solution for this I have found is muhimbi Software to automate your needs for infopath to PDF. Please tell them I referred you to their product. I am working on getting credit for another one of their products. I have been very happy with their products,&amp;nbsp; and highly recommend them. Let them know that Tom Berchenbriter Referred you.&lt;/p&gt;</description></item><item><title>Re: Infopath 2010 export to pdf</title><link>https://www.infopathdev.com:443/forums/thread/67872.aspx</link><pubDate>Wed, 29 Jun 2011 15:12:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67872</guid><dc:creator>downtown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=67872</wfw:commentRss><description>&lt;p&gt;Hello - we have pretty much the exact same problem here at our organization. We are ready to deploy office 2010 and this problem is going to really hurt us - we have one form where there are multiple PDF exports and this of course is crashing infopath. In addition my pdf gets passed over to a fax server which errors because the infopath process&amp;nbsp;has the file locked. &lt;/p&gt;
&lt;p&gt;I downloaded and applied Office 2010 service pack this morning and it does not address this issue. Went through the service pack docs and they did not even address infopath. Sorry but that aint good enough Microsoft.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am going to try to setup Office 2010 without infopath and see if I can install Infopath 2007- so everything other than infopath will be 2010 and infopath 2007. Not terribly optimisitc that it will be successful. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Infopath 2010 export to pdf</title><link>https://www.infopathdev.com:443/forums/thread/57713.aspx</link><pubDate>Thu, 05 Aug 2010 22:26:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57713</guid><dc:creator>jmurtari</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57713.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57713</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-ansi-language:EN-US;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;font face="Calibri"&gt;We have recently upgraded a number of our forms from InfoPath 2007 to InfoPath 2010 and are encountering a strange occurrence when export the completed forms to pdf via submit code.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;This process was working with the same code on version 2007 without issue.&lt;/font&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;What seems to be happening is that the first time the user submits the form it&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;is exported to .pdf just fine and the form is closed based on the setting in the submit options however a ghost process of infopath.exe*32 is still running in task manager even though the application is closed. The second time the user tries to submit the form the .pdf is created but also a print preview window is opened. I believe this is due to the ghost process. After the second submit is process a second ghost process of infopath.exe*32 is present. After about the 3rd or 4th submit attempt the export to .pdf process does not run at all and just a print preview window is open.&lt;/font&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;We are testing on Windows7 x64 bit machines with Office 2010 32-bit version. The code block is below. I have tried variations of submit options and settings as well as adding a thread.sleep command to try and wait for the process to finish before the forms is closed but no matter what it always leaves that ghost infopath.exe*32 process running. If I go in a kill that process in between submit attempts it functions as expected.&lt;/font&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;Any help would or a work around would be greatly appreciated&lt;/font&gt;&lt;font face="Calibri"&gt;Jeff Murtari&lt;/font&gt;&lt;a href="mailto:jmurtari@foreshadowconsulting.com"&gt;&lt;font color="#0000ff" face="Calibri"&gt;jmurtari@foreshadowconsulting.com&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri"&gt; &lt;/font&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;Public Sub FormEvents_Submit(ByVal sender As Object, ByVal e As SubmitEventArgs)&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;#39;export pdf version&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If Directory.Exists(custpdfpath) = False Then&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Directory.CreateDirectory(custpdfpath)&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;End If&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Me.CurrentView.Export(custpdfpath &amp;amp; &amp;quot;.pdf&amp;quot;, ExportFormat.Pdf)&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;e.CancelableArgs.Cancel = False&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;End Sub&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>