<?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: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/121821.aspx</link><pubDate>Wed, 23 Oct 2019 10:18:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121821</guid><dc:creator>khl151</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121821</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;hi all,&lt;/p&gt;&lt;p&gt;do you all&amp;nbsp;have the final answer on this?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/60342.aspx</link><pubDate>Thu, 14 Oct 2010 18:49:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60342</guid><dc:creator>PaulPHS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=60342</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am trying same thing but I am trying to do a concat on the filename and have not been able to do so. can I get a little help? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dim txtPath
&lt;/p&gt;&lt;p&gt;Dim txtName
&lt;/p&gt;&lt;p&gt;
txtPath = &amp;quot;file://PHSORNT152/Laboratory/Lab/Client Services/Message Manager/1 Time Orders/&amp;quot;
&lt;/p&gt;&lt;p&gt;txtName = &amp;quot;fieldnames&amp;quot;&amp;lt;---can&amp;#39;t seem to get the concat to work with my fields in infopath.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;XDocument.SaveAS(txtPath &amp;amp; txtName) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3936.aspx</link><pubDate>Fri, 16 Feb 2007 13:05:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3936</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3936.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3936</wfw:commentRss><description>Hi JL,&lt;br /&gt;&lt;br /&gt;You have to change your folder path as below and try to save the file. Once again check below folder path is available or not in your system.&lt;br /&gt;&lt;br /&gt;txtPath = "T:\Shared Folder\Emp InfoPath Forms&lt;b&gt;\&lt;/b&gt;"</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3935.aspx</link><pubDate>Thu, 15 Feb 2007 21:41:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3935</guid><dc:creator>JLProgrammer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3935</wfw:commentRss><description>Thanks for replying Matt!  I did what you suggested but now I'm getting the following error:&lt;br /&gt;The following error occurred:&lt;br /&gt;&lt;br /&gt;Object required: 'Template1'&lt;br /&gt;File:script.vbs&lt;br /&gt;Line:25&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Does the code look correct?  Thanks for your help!</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3934.aspx</link><pubDate>Mon, 12 Feb 2007 18:47:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3934</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3934</wfw:commentRss><description>Your form is using JScript for its codebehind but the sample was given in VBScript.  You'll have to either convert your form or the sample, which depends on how comfortable you are with either language.&lt;br /&gt;&lt;br /&gt;To convert the form, go to Tools -&amp;gt; Form Options -&amp;gt; Advanced -&amp;gt; Form code language = VBScript</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3933.aspx</link><pubDate>Thu, 08 Feb 2007 13:33:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3933</guid><dc:creator>JLProgrammer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3933</wfw:commentRss><description>The error message was this:&lt;br /&gt;"InfoPath cannot create a new, blank form. &lt;br /&gt;The form template is not valid."&lt;br /&gt;&lt;br /&gt;Then when I show details in the error message box, it says the following:&lt;br /&gt;&lt;br /&gt;"InfoPath cannot open the selected form because of an error in the form's code.&lt;br /&gt;The following error occurred:&lt;br /&gt;&lt;br /&gt;Expected ';'&lt;br /&gt;File:script.js&lt;br /&gt;Line:24&lt;br /&gt;Dim txtPath"&lt;br /&gt;&lt;br /&gt;Thanks!</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3932.aspx</link><pubDate>Thu, 08 Feb 2007 08:03:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3932</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3932.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3932</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Please give the error text you got for the first Dim statement.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3931.aspx</link><pubDate>Wed, 07 Feb 2007 22:29:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3931</guid><dc:creator>JLProgrammer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3931</wfw:commentRss><description>I spoke too soon dpsavy!  I get an error with the first dim statement.  Here exactly what I typed: &lt;br /&gt;&lt;br /&gt;Dim txtPath&lt;br /&gt;Dim txtName&lt;br /&gt;&lt;br /&gt;txtPath = "T:\Shared Folder\Emp InfoPath Forms"&lt;br /&gt;txtName = "Employee.xml"&lt;br /&gt;&lt;br /&gt;XDocument.SaveAS(txtPath &amp; txtName)&lt;br /&gt;&lt;br /&gt;Can you see what I might be doing wrong? &lt;br /&gt;&lt;br /&gt;Thanks for any help!</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3930.aspx</link><pubDate>Fri, 02 Feb 2007 15:51:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3930</guid><dc:creator>JLProgrammer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3930.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3930</wfw:commentRss><description>Thank you SO much dpsavy!  This worked like a charm!</description></item><item><title>Re: Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/3929.aspx</link><pubDate>Thu, 01 Feb 2007 19:14:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3929</guid><dc:creator>dpsavy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3929.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3929</wfw:commentRss><description>Hello JL,&lt;br /&gt;&lt;br /&gt;Simple enough attach this code to the ONClick event of your submit button. Just set the txtPath to your shared folder, I would reccomend you use a unc path (i.e \\server\share\) rather than a mapped drive letter (i.e S:\share) this make it much more effiecent. I know at my command everyone's "S" drive is mapped differently but using a unc path ensures they get there. After that set the txtFile to a filename or maybe even a field in your form and your set.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Dim txtPath&lt;br /&gt;Dim txtName&lt;br /&gt;&lt;br /&gt;txtPath = "Path to your shared folder"&lt;br /&gt;txtName = "Name of your file"&lt;br /&gt;&lt;br /&gt;XDocument.SaveAS(txtPath &amp; txtName)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this Helps.</description></item><item><title>Send form to a shared folder on network</title><link>https://www.infopathdev.com:443/forums/thread/1831.aspx</link><pubDate>Thu, 01 Feb 2007 18:05:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1831</guid><dc:creator>JLProgrammer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1831</wfw:commentRss><description>Is there a way to send a form that has been filled out to a shared folder on a network using a submit button?  After the form is already filled out I want to send the form to a folder on my companies network for archiving. &lt;br /&gt;&lt;br /&gt;Thanks for any ideas!</description></item></channel></rss>