<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submit form to library using VB code</title><link>https://www.infopathdev.com:443/forums/thread/48580.aspx</link><pubDate>Tue, 03 Nov 2009 20:17:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48580</guid><dc:creator>bradb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48580.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48580</wfw:commentRss><description>&lt;p&gt;Worked great, thanks!&lt;/p&gt;</description></item><item><title>Re: Submit form to library using VB code</title><link>https://www.infopathdev.com:443/forums/thread/48448.aspx</link><pubDate>Fri, 30 Oct 2009 23:46:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48448</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48448</wfw:commentRss><description>&lt;p&gt;Okay, so your code is using the Submit form event? You should be able to add another Submit data connection to your form (if your original one to your ShP site isn&amp;#39;t still there) and execute it in the same code block. &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.filesubmitconnection(VS.80).aspx"&gt;FileSubmitConnection&lt;/a&gt; is what you need over at MSDN, and I think the code would be something like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;FileSubmitConnection fc = (FileSubmitConnection)this.DataConnections[&amp;quot;NameOfYourConnectionWhateverThatMayBe&amp;quot;];&lt;br /&gt;fc.Execute();&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Pardon my semi-colons, not sure of the translation to VB. &lt;/p&gt;</description></item><item><title>Submit form to library using VB code</title><link>https://www.infopathdev.com:443/forums/thread/48222.aspx</link><pubDate>Mon, 26 Oct 2009 13:29:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48222</guid><dc:creator>bradb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48222</wfw:commentRss><description>&lt;p&gt;I was working to get an Infopath form to submit the rows of a repeating table to a list. FINALLY got that working the way I wanted, but then an obvious problem popped up, because I&amp;#39;m using a webservice to accomplish the adding to the list, my main submit is now gone. Basically, besides adding the repeating table to a list&amp;nbsp;I need to submit the form itself&amp;nbsp;to a sharepoint&amp;nbsp;library exactly how a normal submit to library would work (linking several fields to the columns in the library). The code I have wrote so far in the custom code section of the submit is in VB.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help would be appreciated!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>