<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121279.aspx</link><pubDate>Tue, 16 Jul 2019 18:16:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121279</guid><dc:creator>foldwide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121279</wfw:commentRss><description>Thanks.  Let me try that.  My kid lost my drive that has the code in it and I was hoping I can just find it in case I need to modify it.  Luckily I still have the exe file that I created I can use for now.  Hopefully there is no requirement change anytime soon.

Thanks</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121278.aspx</link><pubDate>Tue, 16 Jul 2019 18:09:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121278</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121278</wfw:commentRss><description>Yuck you are right - sorry, I didn&amp;#39;t open the folder. How about just using PowerShell to create them and then uploading them to SharePoint? You just need to know the XML structure and then add the InfoPath processing instructions that you can get from the template.xml if you save your form as source files. Here&amp;#39;s one sample I found online for creating XML from Excel - I&amp;#39;m sure there are others. https://gallery.technet.microsoft.com/scriptcenter/fcf0cfc5-3523-4563-88d5-0a0c3f7f3572</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121277.aspx</link><pubDate>Tue, 16 Jul 2019 17:46:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121277</guid><dc:creator>foldwide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121277.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121277</wfw:commentRss><description>I did download the same file.  May be I don&amp;#39;t know how to use it, I don&amp;#39;t see the source code.</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121276.aspx</link><pubDate>Tue, 16 Jul 2019 17:35:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121276</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121276</wfw:commentRss><description>Not sure if you mean the tool no longer works, or that you weren&amp;#39;t able to download it? Attaching, just in case it is the latter.</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121275.aspx</link><pubDate>Tue, 16 Jul 2019 17:25:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121275</guid><dc:creator>foldwide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121275</wfw:commentRss><description>You are right, I think that&amp;#39;s the tool I used before.  However, the download doesn&amp;#39;t seem to work anymore.</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121274.aspx</link><pubDate>Tue, 16 Jul 2019 16:43:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121274</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121274</wfw:commentRss><description>Did you look at the link in my last post? It looks like it does that.</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121273.aspx</link><pubDate>Tue, 16 Jul 2019 16:35:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121273</guid><dc:creator>foldwide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121273</wfw:commentRss><description>May be not.  I guess I probably got it from somewhere.  What I need to do is to read from Excel/csv file, then create an InfoPath file from each row and upload the files to SharePoint Document Library.

Any suggestion on how to do this?

Thanks</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121272.aspx</link><pubDate>Tue, 16 Jul 2019 16:14:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121272</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121272</wfw:commentRss><description>No - was it on the same site? I did find this with a simple web search: https://archive.codeplex.com/?p=csvtoinfopath</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121271.aspx</link><pubDate>Tue, 16 Jul 2019 16:07:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121271</guid><dc:creator>foldwide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121271</wfw:commentRss><description>Thanks.  There is actually another program that will create InfoPath file from CSV and push that file to SharePoint.  Do you happen to have the code for that program as well?</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121270.aspx</link><pubDate>Tue, 16 Jul 2019 15:50:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121270</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121270</wfw:commentRss><description>Internet Archive Wayback machine to the rescue: https://web.archive.org/web/20150227063232/http://www.bizsupportonline.net/infopath2007/programmatically-create-infopath-form-console-app.htm</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/121268.aspx</link><pubDate>Tue, 16 Jul 2019 15:29:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121268</guid><dc:creator>foldwide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121268</wfw:commentRss><description>Hi

Does anyone still have the code from the article

http://www.bizsupportonline.net/infopath2007/programmatically-create-infopath-form-console-app.htm

I used it before, however, I somehow lost the code and won&amp;#39;t able to make changes to it.  The site somehow doesn&amp;#39;t seem accessible now.

Thanks</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/38615.aspx</link><pubDate>Thu, 19 Feb 2009 09:27:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38615</guid><dc:creator>doit007</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38615</wfw:commentRss><description>&lt;p&gt;Hello &lt;/p&gt;
&lt;p&gt;Nice to know your job is done.&lt;/p&gt;
&lt;p&gt;Actually my task is also so similar but&amp;nbsp;the file must be saved in .PDF format. Can you please&amp;nbsp;help me? Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/38597.aspx</link><pubDate>Wed, 18 Feb 2009 22:17:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38597</guid><dc:creator>KavithaY</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38597</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. It has helped me a lot in creating an infopath form programatically.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is the code i have created:&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;using InfoPath = &lt;font size="2"&gt;Microsoft.Office.Interop.InfoPath;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;InfoPath.&lt;/font&gt;&lt;font color="#008080" size="2"&gt;ApplicationClass&lt;/font&gt;&lt;font size="2"&gt; infoPathClass = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; Microsoft.Office.Interop.InfoPath.&lt;/font&gt;&lt;font color="#008080" size="2"&gt;ApplicationClass&lt;/font&gt;&lt;font size="2"&gt;();&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;InfoPath.&lt;/font&gt;&lt;font color="#008080" size="2"&gt;XDocument&lt;/font&gt;&lt;font size="2"&gt; xDoc = infoPathClass._Application_XDocuments.NewFromSolution(&amp;lt;Path of the Template(.xsn) file&amp;gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;xDoc.SaveAs(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;@&amp;quot;C:\Sample&lt;/font&gt;&lt;font color="#800000" size="2"&gt;.xml&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;After the above steps, the &amp;quot;Sample.xml&amp;quot; file has created in the specified path.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;Regards,&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Kavitha&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/38557.aspx</link><pubDate>Wed, 18 Feb 2009 11:45:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38557</guid><dc:creator>doit007</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38557.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38557</wfw:commentRss><description>&lt;p&gt;Hello kavitha.. &lt;/p&gt;
&lt;p&gt;check out this article..&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bizsupportonline.net/infopath2007/programmatically-create-infopath-form-console-app.htm"&gt;http://www.bizsupportonline.net/infopath2007/programmatically-create-infopath-form-console-app.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the article..he is picking up the template from WSS library...you&amp;nbsp;need to change it to like picking up the template from local server ...hope this helps&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Programatically create/open a infopath form from Existing Template in C#</title><link>https://www.infopathdev.com:443/forums/thread/38186.aspx</link><pubDate>Sat, 07 Feb 2009 00:05:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38186</guid><dc:creator>KavithaY</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=38186</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am new to InfoPath Development. &lt;/p&gt;
&lt;p&gt;As per my project requirement, upon clicking a button in .NET application, i need to create a new infopath form. I have the InfoPath template with me and it is fully trusted.&lt;/p&gt;
&lt;p&gt;How can i create/open an infopath form based on my template by programatically in C#.&lt;/p&gt;
&lt;p&gt;Is there any API for InfoPath like MS-Word. I know how to open/create a new word document using Word API.&lt;/p&gt;
&lt;p&gt;And one more, my project is a pure .NET windows application and is not using any web services, share point server,....&lt;/p&gt;
&lt;p&gt;Can you please please help me.&lt;/p&gt;
&lt;p&gt;Thanks in Advance,&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Kavitha.&lt;/p&gt;</description></item></channel></rss>