<?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: Creating InfoPath Forms Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/27112.aspx</link><pubDate>Mon, 10 Mar 2008 15:01:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27112</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=27112</wfw:commentRss><description>&lt;p&gt;InfoPath Designer does not have a public object model so the short answer would be &amp;quot;no&amp;quot;. The longer answer is that you can most likely use the Microsoft Active Accessibility APIs to your own poor-man&amp;#39;s automation but this would be cumbersome and time-consuming at best.&lt;/p&gt;
&lt;p&gt;I assume that to generate InfoPath&amp;nbsp;form you will start by creating a simple form and using it as a template for your generated ones. Depending on the complexity of your forms this may prove to be a hard task as well especially if you have the so-called &amp;quot;structural&amp;quot; editing, that is, sections that allow to insert/remove XML (or repeating tables/sections). Make sure to cover the entire spectrum of what you are planning to autogenerate by hand first so that you can find out all the constructs you need to use.&lt;/p&gt;
&lt;p&gt;Finally, one word of caution: InfoPath is much more lenient in editing mode, forms generated outside of InfoPath may open for filling out but would not be designable.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Creating InfoPath Forms Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/27100.aspx</link><pubDate>Mon, 10 Mar 2008 09:09:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27100</guid><dc:creator>LarryC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=27100</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not sure if this is the right place to post this, but I have a program that generates web services.&amp;nbsp; I would like to create a base InfoPath form that would use those web services.&amp;nbsp; Currently I&amp;#39;m looking at generating the source XML files, but was wondering if anyone knew of an easier/better way to create an InfoPath form programmatically?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Larry&lt;/p&gt;</description></item></channel></rss>