<?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>Re: Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/28756.aspx</link><pubDate>Fri, 16 May 2008 01:54:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28756</guid><dc:creator>PJagger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28756</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying also to launch into an excel export via code, however, I cannot find anything to help with the correct format.&amp;nbsp; I am using Infopath 2007 (fully trusted) and Excel 2007 and I have not cracked the correct code for the format (it doesn&amp;#39;t work with XLS or XLSX).&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;</description></item><item><title>Re: Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/25884.aspx</link><pubDate>Thu, 24 Jan 2008 08:38:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25884</guid><dc:creator>GazM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25884</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am also having trouble with a similar statement/error for a simple button to export to mht&lt;/p&gt;
&lt;p&gt;InfoPath cannot open the selected form because of an error in the form&amp;#39;s code.&lt;br /&gt;The following error occurred:&lt;/p&gt;
&lt;p&gt;Cannot use parentheses when calling a Sub&lt;br /&gt;File:script.vbs&lt;br /&gt;Line:79&lt;br /&gt;XDocument.View.Export(&amp;quot;C:\\MyTest.mht&amp;quot;,&amp;quot;MHT&amp;quot;)&lt;/p&gt;
&lt;p&gt;Any help out there&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Gary&lt;/p&gt;</description></item><item><title>Re: Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/23476.aspx</link><pubDate>Fri, 05 Oct 2007 14:51:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23476</guid><dc:creator>Taffman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23476.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23476</wfw:commentRss><description>&lt;p&gt;When I try this I get the following error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;InfoPath cannot open the selected form beaqcuse of an error in the form&amp;#39;s code.&lt;/p&gt;
&lt;p&gt;The following error has occured:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Cannot use parentheses when calling a Sub&lt;/p&gt;
&lt;p&gt;File:script./vbs&lt;/p&gt;
&lt;p&gt;XDocument.View.Export(&amp;quot;C:\\Test&amp;quot;,&amp;quot;XLS&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any ideas on what I&amp;#39;m doing wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/6872.aspx</link><pubDate>Thu, 27 Jul 2006 16:35:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6872</guid><dc:creator>MApitz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6872.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6872</wfw:commentRss><description>Hi,&lt;br /&gt;I have the same problem but not for all users and not on all WSS. Does anyone know which security patches inhibiting the export of documents?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Maik&lt;br /&gt;</description></item><item><title>Re: Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/6871.aspx</link><pubDate>Fri, 08 Jul 2005 20:48:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6871</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6871.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6871</wfw:commentRss><description>Hi Richard,&lt;br /&gt;Cool. Thanks for posting this. Apparently it was a mystery to us all... :S&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/6870.aspx</link><pubDate>Fri, 08 Jul 2005 15:54:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6870</guid><dc:creator>richardq</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6870.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6870</wfw:commentRss><description>If anyone is interested the problem has been resolved.  It ended up being that Infopath uses Outlook Express to export the .mhtm file and my company has implemented some security patches that lock up Outlook Express so the file could never be created.</description></item><item><title>Export to web error</title><link>https://www.infopathdev.com:443/forums/thread/4685.aspx</link><pubDate>Fri, 27 May 2005 17:34:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4685</guid><dc:creator>richardq</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4685.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4685</wfw:commentRss><description>Hi &lt;br /&gt;Every time I try to export an Infopath form as a .mhtml from a sharepoint library by clicking on file -&amp;gt; export to -&amp;gt; web... I recieve an "Infopath cannot save the form." error.  I have given full trust permissions to the form and I have digitally signed it in creation. &lt;br /&gt;&lt;br /&gt;I have also tried to export it using a button and the following script code:&lt;br /&gt;XDocument.View.Export("C:\\test", "MHT");&lt;br /&gt;And I recieve the following error: "InfoPath cannot export the form."&lt;br /&gt;&lt;br /&gt;Does anyone know how I can fix this?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>