<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Solved</title><link>https://www.infopathdev.com:443/forums/thread/81012.aspx</link><pubDate>Wed, 25 Jul 2012 17:14:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81012</guid><dc:creator>bhook</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81012.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81012</wfw:commentRss><description>I did try your method, it prompted me an error saying that method wasn&amp;#39;t supported. Thanks though.</description></item><item><title>Re: Solved</title><link>https://www.infopathdev.com:443/forums/thread/81011.aspx</link><pubDate>Wed, 25 Jul 2012 16:59:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81011</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81011</wfw:commentRss><description>Did you try my suggestion?&amp;nbsp; That might save users from having to go through the extra prompt.</description></item><item><title>Solved</title><link>https://www.infopathdev.com:443/forums/thread/81010.aspx</link><pubDate>Wed, 25 Jul 2012 16:47:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81010</guid><dc:creator>bhook</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81010.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81010</wfw:commentRss><description>I used IE to open the file which prompts me to open the file with Infopath.

WshShell.Run &amp;quot;%comspec% /c Start iexplore &amp;quot; &amp;amp; localfile, 0, 1</description></item><item><title>Re: Open .XSN from VBScript</title><link>https://www.infopathdev.com:443/forums/thread/80988.aspx</link><pubDate>Wed, 25 Jul 2012 12:06:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80988</guid><dc:creator>bhook</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80988</wfw:commentRss><description>Yes its 2003, I&amp;#39;m writing a VBScript which will open a .xsn I was given.</description></item><item><title>Re: Open .XSN from VBScript</title><link>https://www.infopathdev.com:443/forums/thread/80984.aspx</link><pubDate>Wed, 25 Jul 2012 09:45:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80984</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80984.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80984</wfw:commentRss><description>&lt;p&gt;For opening XSNs, I think you should use NewFromSolution(), not Open():&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.infopath.xdocuments2.newfromsolution(v=office.11"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.interop.infopath.xdocuments2.newfromsolution(v=office.11&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>Re: Open .XSN from VBScript</title><link>https://www.infopathdev.com:443/forums/thread/80975.aspx</link><pubDate>Wed, 25 Jul 2012 03:18:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80975</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80975.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80975</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is it Infopath 2003?&lt;/p&gt;&lt;p&gt;AFAIU, VBScript is not used in 2007 and 2010? &lt;/p&gt;&lt;p&gt;The.xsn file is archive of (I believe XML) files, it is for XML files describing &lt;b&gt;Infopath form template&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Then, I do not grasp - are you  trying to open XSN template from itself? or from where? in which context?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Open .XSN from VBScript</title><link>https://www.infopathdev.com:443/forums/thread/80960.aspx</link><pubDate>Tue, 24 Jul 2012 19:59:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80960</guid><dc:creator>bhook</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80960.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=80960</wfw:commentRss><description>I&amp;#39;m new to InfoPath and VBScript. I&amp;#39;m trying to open a .xsn file residing on the desktop using a vbscript. I&amp;#39;ve used 

Set ipApp = CreateObject(&amp;quot;InfoPath.Application&amp;quot;) 

then 

Call ipApp.XDocuments.Open(myfile) but those return an error about the file not being a valid XML file. 

(myfile is declared earlier in the script)

Am I missing something? Any help appreciated.</description></item></channel></rss>