<?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: Need Help with getting a Vb code to use with my submit button. Thanks in advance</title><link>https://www.infopathdev.com:443/forums/thread/20811.aspx</link><pubDate>Thu, 14 Jun 2007 19:31:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20811</guid><dc:creator>lxruiz3</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20811</wfw:commentRss><description>&lt;p&gt;Hi Matt,&lt;/p&gt;&lt;p&gt;&amp;nbsp;yes you are right, I did find that code is only like a 3 line or 2 line code to call the submit data connection and it runs ok I mean the form does not return any errors, I get the e-mail via Lotus Notes but the actual form never gets dump into the sharepoint site.&lt;/p&gt;&lt;p&gt;I click on submit and get the email, I go to the sharepoint library and the form is not there, any ideas on why??&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Leo&lt;/p&gt;</description></item><item><title>Re: Need Help with getting a Vb code to use with my submit button. Thanks in advance</title><link>https://www.infopathdev.com:443/forums/thread/20806.aspx</link><pubDate>Thu, 14 Jun 2007 18:53:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20806</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20806.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20806</wfw:commentRss><description>&lt;p&gt;Hi Leo,&lt;/p&gt;&lt;p&gt;Well, if you&amp;#39;ve got the code working to send e-mails, the code to submit to SharePoint should be relatively easy.&amp;nbsp; I assume you already have the data connection in place to submit to SharePoint, you just need to call it from code.&amp;nbsp; There should be some code samples around the Internet or on this forum to help you do this.&lt;/p&gt;</description></item><item><title>Re: Need Help with getting a Vb code to use with my submit button. Thanks in advance</title><link>https://www.infopathdev.com:443/forums/thread/20764.aspx</link><pubDate>Thu, 14 Jun 2007 14:05:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20764</guid><dc:creator>lxruiz3</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20764</wfw:commentRss><description>&lt;p&gt;Hi Matt,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your response, the problem that I have is that we are runing Lotus Notes and the data connections do not work with this email system.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I was able to input a code in the submit button so we can get an email once the client submits the form, but I also need to send this data to my sharepoint (the tricky part).&lt;/p&gt;&lt;p&gt;&amp;nbsp;I did try to use the code with a rule and an action that would drop the data via a data connection however this 2 different options do not work together.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Leo&lt;/p&gt;</description></item><item><title>Re: Need Help with getting a Vb code to use with my submit button. Thanks in advance</title><link>https://www.infopathdev.com:443/forums/thread/20728.aspx</link><pubDate>Thu, 14 Jun 2007 08:40:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20728</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20728</wfw:commentRss><description>&lt;p&gt;Hi Leo and welcome to the forums!&lt;/p&gt;&lt;p&gt;I don&amp;#39;t think you will need code in this situation - InfoPath comes with data connections that will allow you to both send an e-mail and submit a form to a SharePoint library.&amp;nbsp; You should be able to find this pretty easily from the Data Connection Wizard.&amp;nbsp; Go to Tools -&amp;gt; Data Connections, and then click Add.&lt;/p&gt;&lt;p&gt;Once both of these connections are added, you can create a button that submits to these two data connections.&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Need Help with getting a Vb code to use with my submit button. Thanks in advance</title><link>https://www.infopathdev.com:443/forums/thread/20605.aspx</link><pubDate>Mon, 11 Jun 2007 21:21:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20605</guid><dc:creator>lxruiz3</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=20605</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Hi there,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;Ok so I am new at this and hopefully someone will have the answer that I am looking for.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;This is what I am using:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;1- InfoPath 2003&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;2-Lotus Notes&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;3-Sharepoint&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;My goal is to have a code on the submit button of my form that will 1- e-mail a notification of new form and 2-the code will also submit my form to the Sharepoint form library.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;So far: I was able to find a Vb code that uses the STMP server to send out my&amp;nbsp;notification&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Stuck on: Finding a Vb code that will also save my form into Sharepoint.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Things I tried so far:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Have my button with the code for e-mail and also created a data connection and used a rule to submit to the Sharepoint (however this process does not work) I can either enable the form to be submitted or use Vb coding.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;If anyone out there can give me some ideas or point me on the right direction it would be greatly appreciated.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Sincerely&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;A desperate InfoPath user&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Leo&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>