<?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: Message Box</title><link>https://www.infopathdev.com:443/forums/thread/101777.aspx</link><pubDate>Thu, 19 Mar 2015 06:35:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101777</guid><dc:creator>umashiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=101777</wfw:commentRss><description>Hi, 
Am using IP 2010, Working with Browser-Enabled form.
i just want to display a &amp;quot;Message Box&amp;quot;
Can i get some help on that.
Thanks,</description></item><item><title>Re: Message Box</title><link>https://www.infopathdev.com:443/forums/thread/62792.aspx</link><pubDate>Wed, 05 Jan 2011 08:57:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62792</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62792</wfw:commentRss><description>&lt;p&gt;No problem! Just a little contribution back to the forum that helped me a lot. :)&lt;/p&gt;</description></item><item><title>Re: Message Box</title><link>https://www.infopathdev.com:443/forums/thread/62791.aspx</link><pubDate>Wed, 05 Jan 2011 08:10:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62791</guid><dc:creator>renato</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62791</wfw:commentRss><description>&lt;p&gt;Excellent ZhenUyan, that&amp;#39;s exactly what I was looking for! Thanks a lot!&lt;/p&gt;</description></item><item><title>Re: Message Box</title><link>https://www.infopathdev.com:443/forums/thread/62790.aspx</link><pubDate>Wed, 05 Jan 2011 07:48:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62790</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62790</wfw:commentRss><description>&lt;p&gt;Hi Renato,&lt;/p&gt;
&lt;p&gt;Not sure about IP 2010, I&amp;#39;m using IP 2007 and just did something which fits your description.&amp;nbsp;The code for Visual Basic is:&lt;/p&gt;
&lt;p&gt;Dim result As DialogResult&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = MessageBox.Show(&amp;quot;Thank you! The form has been submitted successfully.&amp;quot; &amp;amp; NewLine &amp;amp; &amp;quot;Your administrator will contact you if further details are required. Would you like to reuse this form to submit a new request?&amp;quot;, &amp;quot;Form submitted!&amp;quot;, MessageBoxButtons.YesNo, MessageBoxIcon.Information)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If result = DialogResult.Yes Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(&amp;quot;Please amend your new request.&amp;quot;, &amp;quot;Please amend your form&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/p&gt;
&lt;p&gt;You can put this code as a changed event or on a button code. To change your exclamation icon to something informative? Try the Information box icon. Good luck! &lt;/p&gt;</description></item><item><title>Message Box</title><link>https://www.infopathdev.com:443/forums/thread/62286.aspx</link><pubDate>Tue, 14 Dec 2010 15:15:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62286</guid><dc:creator>renato</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=62286</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using Infopath 2010 but developing an IP 2003 compatible, client form (not web). I&amp;#39;m looking for a way to show an informative message box; I know thisXDocument.UI.Alert does something like that, but it shows the yellow &amp;quot;warning&amp;quot; sign, so doesn&amp;#39;t seem appropriate for a confirmation message...&lt;/p&gt;
&lt;p&gt;Thanks a lot for any suggestions&lt;/p&gt;
&lt;p&gt;Renato&lt;/p&gt;</description></item></channel></rss>