<?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>Bug In Webexport Control?</title><link>https://www.infopathdev.com:443/forums/thread/24225.aspx</link><pubDate>Wed, 07 Nov 2007 07:30:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24225</guid><dc:creator>zaphi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24225</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;In my form, I do a webexport (.MHT) with the Dialog Interface&lt;/p&gt;

&lt;p&gt;Code:
var objCommandBars = Application.ActiveWindow.CommandBars;
var objCommandBarControl = objCommandBars.FindControl(1,7721);
objCommandBarControl.Control.Execute();&lt;/p&gt;

&lt;p&gt;If the user do  the export will be done.
&lt;br /&gt;If the user do  the export will not be done.&lt;/p&gt;

&lt;p&gt;Now, I need to get the ReturnStatus, if the user has exported or not, because I want to change the status of the form, if export is permormed. I haven&amp;#39;t managed it. Can anybody help me?&lt;/p&gt;


&lt;p&gt;Thanks for your help.
Best regards.
Philippe&lt;/p&gt;</description></item></channel></rss>