<?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>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/106854.aspx</link><pubDate>Tue, 31 May 2016 20:57:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106854</guid><dc:creator>John1006</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106854.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=106854</wfw:commentRss><description>Hi Hilary,

I have followed the instructions from the previous posts and I have a few issues.  First of all, my form is an InfoPath-Browser Enabled form which I think is the issue.  The two errors I get are 

Error	1	&amp;#39;Microsoft.Office.InfoPath.View&amp;#39; does not contain a definition for &amp;#39;Export&amp;#39; and no extension method &amp;#39;Export&amp;#39; accepting a first argument of type &amp;#39;Microsoft.Office.InfoPath.View&amp;#39; could be found (are you missing a using directive or an assembly reference?)	C:\Users\j...\AppData\Local\Temp\Vsta\InfoPath\VstaSZ8wQSwu8ky9cqI5oR5d0A\VstaB__EDh8t1l0iLkOdH5__eXAg\FormCode.cs	52	34	Form1

Error	2	The name &amp;#39;ExportFormat&amp;#39; does not exist in the current context	C:\Users\j...\AppData\Local\Temp\Vsta\InfoPath\VstaSZ8wQSwu8ky9cqI5oR5d0A\VstaB__EDh8t1l0iLkOdH5__eXAg\FormCode.cs	52	60	Form1


Basically, I have a browser-enabled InfoPath form in which i want the users to be able to click on a button and convert the form to either a PDF or Word Doc.  I have tried XML, XSL, XSLT stuff and I am a little stumped.  We are on SharePoint 2013 and Designer Workflow does not support the conversion in 2013.  We don&amp;#39;t want to buy 3rd party.

Would you have any suggestions on how I can convert this InfoPath - browser- enabled form to PDF or DOCx ?  Thank you So much in advance.

-John</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/97769.aspx</link><pubDate>Tue, 03 Jun 2014 16:28:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97769</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=97769</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll probably need to print the form instead via code - I&amp;#39;m guessing you&amp;#39;ll be able to change the printer settings to print as PDF via code, but don&amp;#39;t have a sample off-hand.&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/97768.aspx</link><pubDate>Tue, 03 Jun 2014 16:16:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97768</guid><dc:creator>JeffVojtko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=97768</wfw:commentRss><description>The &amp;quot;File &amp;gt; Info &amp;gt; Publish as PDF or XPS document feature in InfoPath results in a blank form. So, no the form doesn&amp;#39;t render properly. But, when printed to PDF through Windows it does render correctly.</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/97767.aspx</link><pubDate>Tue, 03 Jun 2014 16:04:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97767</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=97767</wfw:commentRss><description>&lt;p&gt;I may have been unclear.&amp;nbsp;I&amp;#39;m wondering, if you create the form from InfoPath&amp;#39;s &amp;quot;File &amp;gt; Info &amp;gt; Publish as PDF&amp;quot; does it render correctly? I think you are saying when you go to File &amp;gt; Print and then print the form as a PDF (using some 3rd party software, I&amp;#39;m guessing?) it renders correctly? The code in this thread uses InfoPath&amp;#39;s built in &amp;quot;Publish as PDF&amp;quot; functionality....&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/97759.aspx</link><pubDate>Tue, 03 Jun 2014 11:58:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97759</guid><dc:creator>JeffVojtko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=97759</wfw:commentRss><description>When I manually export the form there is no data. But, when I print it out as a PDF the data appears as expected on the form.</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/97750.aspx</link><pubDate>Mon, 02 Jun 2014 21:12:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97750</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=97750</wfw:commentRss><description>&lt;p&gt;If you manually export the form to PDF, do you see the data you expect?&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/97744.aspx</link><pubDate>Mon, 02 Jun 2014 13:44:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97744</guid><dc:creator>JeffVojtko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=97744</wfw:commentRss><description>Hi Hillary, your code works well for me as shown below. The only problem is that the user&amp;#39;s selections made on a Repeating table pulled in from
a Sharepoint list as a Secondary Data Connection is not reflected on the saved PDF. Is there some way for me to insure the user&amp;#39;s selections on the InfoPath form?


        Public Sub CTRL50_5_Clicked_1(ByVal sender As Object, ByVal e As ClickedEventArgs)

            Dim fileName As String

            Dim nameNode As XPathNavigator

            &amp;#39;Set the values. Replace &amp;quot;/my:myFields/my:textField&amp;quot; with the xpath to the field that has the value you want as the file name

            nameNode = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:Name&amp;quot;, NamespaceManager)            fileName = nameNode.Value + &amp;quot;.pdf&amp;quot;


            &amp;#39;Do the work -- notice we use the variable fileName as part of the path for the file


            Me.CurrentView.Export(&amp;quot;MyServer&amp;quot; + fileName, ExportFormat.Pdf)

        End Sub</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/96843.aspx</link><pubDate>Thu, 03 Apr 2014 05:37:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96843</guid><dc:creator>Ankit Singla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=96843</wfw:commentRss><description>Hi Hilary,

Yes, you are right here. My form was Blank InfoPath form (i.e. Web browser form). I have created one more new infopath filler form and this time i am facing this issue:


InfoPath cannot open the selected form because of an error in the form&amp;#39;s code.
InfoPath will fail to load this form because Microsoft .NET Framework 3.5 is not installed or is installed incorrectly.

Download and install Microsoft .NET Framework 3.5 or contact your system administrator.
A floating attribute may not be passed as the context node for an XSLT transform or an XPath query.


Please assist me.

Thanks, 
Ankit</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/96832.aspx</link><pubDate>Wed, 02 Apr 2014 15:50:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96832</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=96832</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m betting your form is a browser form instead of a filler form?&lt;/p&gt;
&lt;p&gt;EDIT - sorry, that was a little terse and unhelpful. &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.view.export(v=office.14).aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.view.export(v=office.14).aspx&lt;/a&gt;&amp;nbsp;- CurrentView.Export requires a filler form, full trust - it is not available for browser.&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/96826.aspx</link><pubDate>Wed, 02 Apr 2014 06:29:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96826</guid><dc:creator>Ankit Singla</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=96826</wfw:commentRss><description>Hi,

First off all thanks a lot for your great support. Can you please assist me with very small query.
I want to save my Infopath 2010 form as pdf when click on save button. For this I have copied the C# code but its showing error:

Error 1 &amp;#39;Microsoft.Office.InfoPath.View&amp;#39; does not contain a definition for &amp;#39;Export&amp;#39; 

Error 2 The name &amp;#39;ExportFormat&amp;#39; does not exist in the current context 

Please let me know if i need to add any namespace or anything else.

Thanks,
Ankit</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/95926.aspx</link><pubDate>Fri, 14 Feb 2014 23:48:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95926</guid><dc:creator>Zaramst</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95926.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=95926</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am new in Infopath and Visual Studio. I have followed your guide, But I have below error in&amp;nbsp; C# Code:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;using Microsoft.Office.InfoPath;&lt;br /&gt;using Microsoft.Office.Interop.InfoPath;&lt;br /&gt;using System;&lt;br /&gt;using System.Xml;&lt;br /&gt;using System.Xml.XPath;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Drawing.Printing;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt;using mshtml;&lt;br /&gt;using System.Windows;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;namespace Form9&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public partial class FormCode&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Member variables are not supported in browser-enabled forms.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Instead, write and read these values from the FormState&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // dictionary using code such as the following:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // private object _memberVariable&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&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; return FormState[&amp;quot;_memberVariable&amp;quot;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&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; FormState[&amp;quot;_memberVariable&amp;quot;] = value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // NOTE: The following procedure is required by Microsoft InfoPath.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // It can be modified using Microsoft InfoPath.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void InternalStartup()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((ButtonEvent)EventManager.ControlEvents[&amp;quot;CTRL210_5&amp;quot;]).Clicked += new ClickedEventHandler(CTRL210_5_Clicked);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((ButtonEvent)EventManager.ControlEvents[&amp;quot;CTRL211_5&amp;quot;]).Clicked += new ClickedEventHandler(CTRL211_5_Clicked);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void CTRL210_5_Clicked(object sender, ClickedEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //PrintDocument pd = new PrintDocument();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //pd.Print();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void CTRL211_5_Clicked(object sender, ClickedEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Declare our variables&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string fileName;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XPathNavigator nameNode = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:textField&amp;quot;, NamespaceManager);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set the values. Replace &amp;quot;/my:myFields/my:textField&amp;quot; with the xpath to the field that has the value you want as the file name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileName = nameNode.Value + &amp;quot;.pdf&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do the work -- notice we use the variable fileName as part of the path for the file.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.CurrentView.&lt;u&gt;Export&lt;/u&gt;(@&amp;quot;C:\&amp;quot; + fileName, &lt;u&gt;ExportFormat&lt;/u&gt;.Pdf);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&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; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Could you please help me?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>converted to pdf</title><link>https://www.infopathdev.com:443/forums/thread/88971.aspx</link><pubDate>Wed, 17 Apr 2013 08:06:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88971</guid><dc:creator>mishra.biswadev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88971.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=88971</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hillari ,&lt;/p&gt;&lt;p&gt;i have to convert&amp;nbsp; xsn file to pdf format&amp;nbsp; can you guide me &lt;/p&gt;&lt;p&gt;i am work in third party pdf conveter muhbumbi&lt;/p&gt;&lt;p&gt;but i did not find a specefic way to convert it &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/85501.aspx</link><pubDate>Wed, 19 Dec 2012 20:10:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85501</guid><dc:creator>Adam Dunlap</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=85501</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve had the exact same problem.&amp;nbsp; I don&amp;#39;t see anywhere in the API to set the resolution to the &amp;quot;Standard&amp;quot;?&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&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;finaldoc.Save(p&amp;nbsp;+&amp;nbsp;&lt;span style="color:#a31515;"&gt;&amp;#39;\\&amp;#39;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;splitatlevel.Last()&amp;nbsp;+&amp;nbsp;&lt;span style="color:#a31515;"&gt;&amp;quot;_Final.xml&amp;quot;&lt;/span&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;formControl1.Open(p&amp;nbsp;+&amp;nbsp;&lt;span style="color:#a31515;"&gt;&amp;#39;\\&amp;#39;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;splitatlevel.Last()&amp;nbsp;+&amp;nbsp;&lt;span style="color:#a31515;"&gt;&amp;quot;_Final.xml&amp;quot;&lt;/span&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;formControl1.XmlForm.CurrentView.ForceUpdate();
 
&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 style="color:#2b91af;"&gt;Application&lt;/span&gt;.DoEvents();
 
&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 style="color:#2b91af;"&gt;MessageBox&lt;/span&gt;.Show(splitatlevel.Last());
 
&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;formControl1.XmlForm.CurrentView.Export(p&amp;nbsp;+&amp;nbsp;&lt;span style="color:#a31515;"&gt;&amp;#39;\\&amp;#39;&lt;/span&gt;&amp;nbsp;+&amp;nbsp;splitatlevel.Last()&amp;nbsp;+&amp;nbsp;&lt;span style="color:#a31515;"&gt;&amp;quot;_Final.pdf&amp;quot;&lt;/span&gt;,&amp;nbsp;Microsoft.Office.InfoPath.&lt;span style="color:#2b91af;"&gt;ExportFormat&lt;/span&gt;.Pdf);
&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;formControl1.Close();&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;Anyone else have any API or COM insight on programmatically setting the pdf quality?  &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/84666.aspx</link><pubDate>Fri, 23 Nov 2012 14:13:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84666</guid><dc:creator>numbhaskar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=84666</wfw:commentRss><description>&lt;p&gt;&lt;font size="2"&gt;using Microsoft.Office.InfoPath;&lt;br /&gt;using System;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt;using System.Xml;&lt;br /&gt;using System.Xml.XPath;&lt;br /&gt;using mshtml;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Windows;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;use the above name spaces and add the following dlls to your solution&lt;/p&gt;&lt;p&gt;System.Windows.Forms.dll&lt;/p&gt;&lt;p&gt;microsoft.mshtml.dll ---- Download from the microsoft site&lt;/p&gt;&lt;p&gt;then it will work&lt;/p&gt;</description></item><item><title>Re: Export InfoPath-form to pdf-file with individual name</title><link>https://www.infopathdev.com:443/forums/thread/80405.aspx</link><pubDate>Tue, 10 Jul 2012 17:03:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80405</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=80405</wfw:commentRss><description>&lt;p&gt;In the code sample, we were using the value of a node for the file name. In your code, you have:&lt;/p&gt;
&lt;p&gt;nameNode = MainDataSource.CreateNavigator().SelectSingleNode(&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;test&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Which will most likely result in &amp;quot;nameNode&amp;quot; being null - do you have a form field you&amp;#39;d like to use for the name?&lt;/p&gt;
&lt;p&gt;For testing purposes, you could just change this line:&lt;/p&gt;
&lt;p&gt;fileName = nameNode.Value + &lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;.pdf&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;To a value for the file name:&lt;/p&gt;
&lt;p&gt;fileName = &amp;quot;test.pdf&amp;quot;&lt;/p&gt;
&lt;p&gt;for example.&lt;/p&gt;</description></item></channel></rss>