<?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 as" in Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/74634.aspx</link><pubDate>Thu, 26 Jan 2012 22:04:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74634</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74634.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=74634</wfw:commentRss><description>&lt;p&gt;what version of IP are you using? I do not believe that you need code to do this at least in 2010 I believe this to be true. On the Data ribbon item or form options you can navigate to form submit options. There are several options, one of the being a web service and another being web (http). maybe this will help you.&lt;/p&gt;</description></item><item><title>"Save as" in Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/74173.aspx</link><pubDate>Wed, 18 Jan 2012 10:05:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74173</guid><dc:creator>alessandro_daniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=74173</wfw:commentRss><description>Hello,
first, sorry for my English!
second, my situation:
I&amp;#39;m just starting to use Infopath, for years I&amp;#39;ve been using Access and VBA but I&amp;#39;m not a developer and I cannot understand how to work in Visual Studio Tools using vb code.
third, my question:
What I would like to do:  I don&amp;#39;t use Sharepoint, I want to save a fulfilled form in a defined path in my company network. 
I&amp;#39;ve added a button on my template and started Visual Studio. I&amp;#39;ve searched and found some code in the web, tried to use it but without success. Something like this:

Public Sub SaveButton_Clicked(ByVal sender As Object, ByVal e As ClickedEventArgs)

thisxdocument.saveas(&amp;quot;mypath/myfile.xml&amp;quot;)

        End Sub

The error alert is: thisxdocument is not defined. Then I discovered XDocument was for Infopath 2003. Tried to use XmlForm, but same error.
I tried to use Application.XmlForm.saveas but always same error (Application not defined, XmlForm not defined) and moreover &amp;quot;saveas&amp;quot; is not a method. It seems it does not recognise any object...
What I should do? Please, help me!
Thanks in advance

Alessandro</description></item></channel></rss>