<?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: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14848.aspx</link><pubDate>Wed, 01 Nov 2006 15:50:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14848</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14848</wfw:commentRss><description>Hi again,&lt;br /&gt;What about the two codeless suggestions of using SharePoint submit and a rule or using just e-mail?</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14847.aspx</link><pubDate>Wed, 01 Nov 2006 12:46:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14847</guid><dc:creator>nikihoi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14847.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14847</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Patrick Halstead&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi Bernie,&lt;br /&gt;&lt;br /&gt;Sorry about the delay, but we are here to help you with InfoPath issues, not to help you understand how to do programming. We are busy and we have jobs and this is a free forum. We don't make any money on it. It is provided as a service to the developer community. We assume you already learned how to code, or that you are not going to code. Unfortunately, your request to e-mail on save requires code. Now, if you use SharePoint submit (which is a form of save), you can e-mail on submit and you don't need to write any code. You can also hook up a button to e-mail the form, without any code (and save the form as an attachment in your OutLook Sent Items). Those are two options I would recommend for non-programmers.&lt;br /&gt;&lt;br /&gt;If you found a bug in our code, we will be more than happy to help fix it. However, it looks like you just don't know how to get it to compile, etc. We can't teach you how to code - that's a long journey and it would not be fair to others in the forum (since we would end up spending too much time trying to help the helpless). &lt;br /&gt;&lt;br /&gt;If you want to become a developer, I recommend reading my book "Developing Solutions with InfoPath" and working through all of the examples. Then, I would read the InfoPath SDK completely (boring but very helpful). When you have done these two things, you will be able to do simple coding in InfoPath, but you won't be a programmer yet.&lt;br /&gt;&lt;br /&gt;My advice: figure out how to do what you want without writing code. &lt;br /&gt;&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;Thanks I guess... didn't want to learn to code.  Don't have the time to learn because oh yess... I also have job!!!  The responses above make it sound simple, that's why I continued with this, and this isn't the first topic that nobody had responded to.&lt;br /&gt;&lt;br /&gt;Nice shameless plug on your book ;-)</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14846.aspx</link><pubDate>Tue, 31 Oct 2006 15:16:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14846</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14846.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14846</wfw:commentRss><description>Hi Bernie,&lt;br /&gt;&lt;br /&gt;Sorry about the delay, but we are here to help you with InfoPath issues, not to help you understand how to do programming. We are busy and we have jobs and this is a free forum. We don't make any money on it. It is provided as a service to the developer community. We assume you already learned how to code, or that you are not going to code. Unfortunately, your request to e-mail on save requires code. Now, if you use SharePoint submit (which is a form of save), you can e-mail on submit and you don't need to write any code. You can also hook up a button to e-mail the form, without any code (and save the form as an attachment in your OutLook Sent Items). Those are two options I would recommend for non-programmers.&lt;br /&gt;&lt;br /&gt;If you found a bug in our code, we will be more than happy to help fix it. However, it looks like you just don't know how to get it to compile, etc. We can't teach you how to code - that's a long journey and it would not be fair to others in the forum (since we would end up spending too much time trying to help the helpless). &lt;br /&gt;&lt;br /&gt;If you want to become a developer, I recommend reading my book "Developing Solutions with InfoPath" and working through all of the examples. Then, I would read the InfoPath SDK completely (boring but very helpful). When you have done these two things, you will be able to do simple coding in InfoPath, but you won't be a programmer yet.&lt;br /&gt;&lt;br /&gt;My advice: figure out how to do what you want without writing code. &lt;br /&gt;</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14845.aspx</link><pubDate>Tue, 31 Oct 2006 12:02:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14845</guid><dc:creator>nikihoi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14845.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14845</wfw:commentRss><description>So... is anyone going to help me with this?</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14844.aspx</link><pubDate>Fri, 27 Oct 2006 12:26:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14844</guid><dc:creator>nikihoi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14844</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Abhishek&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi Nikhoi,&lt;br /&gt;&lt;br /&gt;Regarding the EmailAdapter, u can find the code in the following link in both JScript and C#.&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2583&amp;SearchTerms=email&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2583&amp;SearchTerms=email&lt;/a&gt;,adapter&lt;br /&gt;&lt;br /&gt;Also search the InfoPathdev forums with  EmailAdapter as the keyword. You will see lot of posts.&lt;br /&gt;&lt;br /&gt;Now u need to place the code in the OnSaveRequest() event, so that this code executes every time u save the form.&lt;br /&gt;&lt;br /&gt;Go to Tools menu--&amp;gt;Form Options&lt;br /&gt;Select the "Open and Save" tab in the Form Options dialog&lt;br /&gt;Check the "Save using Custom code" check box&lt;br /&gt;Click Edit button &lt;br /&gt;U will get the OnSaveRequest method in the Visual Studio (or Microsoft Script Editor) based on what u use.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;OK, I am really sorry, but that link was no help at all!!!  It said to leave stuff blank, but it would not let me procede. When I would copy and paste the code into the script editor, it would look nothing like when I copied it.  You have to remember, I have never programmed before, so clueless would probably be an understatement.  I was hoping it would just be a copy and paste and change some variables, but it doesn't seem that simple.  I don't understand why Microsoft could just made save behavior like open behavior. I am sooo lost... please help!!!</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14843.aspx</link><pubDate>Thu, 26 Oct 2006 11:39:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14843</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14843</wfw:commentRss><description>Hi Nikhoi,&lt;br /&gt;&lt;br /&gt;Regarding the EmailAdapter, u can find the code in the following link in both JScript and C#.&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2583&amp;SearchTerms=email&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2583&amp;SearchTerms=email&lt;/a&gt;,adapter&lt;br /&gt;&lt;br /&gt;Also search the InfoPathdev forums with  EmailAdapter as the keyword. You will see lot of posts.&lt;br /&gt;&lt;br /&gt;Now u need to place the code in the OnSaveRequest() event, so that this code executes every time u save the form.&lt;br /&gt;&lt;br /&gt;Go to Tools menu--&amp;gt;Form Options&lt;br /&gt;Select the "Open and Save" tab in the Form Options dialog&lt;br /&gt;Check the "Save using Custom code" check box&lt;br /&gt;Click Edit button &lt;br /&gt;U will get the OnSaveRequest method in the Visual Studio (or Microsoft Script Editor) based on what u use.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14842.aspx</link><pubDate>Wed, 25 Oct 2006 17:12:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14842</guid><dc:creator>nikihoi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14842</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Agni Jonnalagadda&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;You can call emailadapter.Submit method in the OnSaveRequest() event.&lt;br /&gt;&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;OK, I am quite the newbie at this, so would you care to go into a little more detail, cause I have no clue what you are talking about?&lt;br /&gt;&lt;br /&gt;Thanks!!!!!</description></item><item><title>Re: Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/14841.aspx</link><pubDate>Wed, 25 Oct 2006 16:18:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14841</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14841</wfw:commentRss><description>You can call emailadapter.Submit method in the OnSaveRequest() event.&lt;br /&gt;</description></item><item><title>Save behavior</title><link>https://www.infopathdev.com:443/forums/thread/12966.aspx</link><pubDate>Wed, 25 Oct 2006 14:08:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12966</guid><dc:creator>nikihoi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12966</wfw:commentRss><description>Good day all,&lt;br /&gt;&lt;br /&gt;I would like for my infopath form to send an email using a data connection when the form gets saved.&lt;br /&gt;&lt;br /&gt;So when a user is finished saving the document, I would like the form to automatically send an email to a data connection i have set.&lt;br /&gt;&lt;br /&gt;Is there a way to do this.&lt;br /&gt;&lt;br /&gt;Appreciate everyones's help on this!!!&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;Bernie</description></item></channel></rss>