<?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: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25542.aspx</link><pubDate>Thu, 10 Jan 2008 12:05:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25542</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25542.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25542</wfw:commentRss><description>You could just add a Microsoft Ecxel Spredsheet Custom Control to your Infopath template.</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25538.aspx</link><pubDate>Thu, 10 Jan 2008 05:33:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25538</guid><dc:creator>kyledude04</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25538</wfw:commentRss><description>It&amp;#39;s ok. I&amp;#39;ve worked it out now.</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25531.aspx</link><pubDate>Thu, 10 Jan 2008 00:18:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25531</guid><dc:creator>kyledude04</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25531</wfw:commentRss><description>&lt;p&gt;Thanks Clay,&lt;/p&gt;
&lt;p&gt;This file attachment is getting too hard (and I&amp;#39;m running out of time...) so I&amp;#39;ve decided to go for a repeating table which users can paste the data into.&amp;nbsp; What I need to do is allow for the correct number of rows before user pastes the data.&amp;nbsp; If the users enter the number of rows required, is there a way to insert that number of rows into the&amp;nbsp;table using vbscript?&lt;/p&gt;</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25501.aspx</link><pubDate>Wed, 09 Jan 2008 15:07:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25501</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25501</wfw:commentRss><description>&lt;p&gt;Yah I think pasting directly into a table in InfoPath reliably would be difficult.&lt;/p&gt;
&lt;p&gt;I would explore importing the data via a secondary data source.&amp;nbsp; I had thought there was a custom control for Excel in InfoPath but I cannot find it in now.&lt;/p&gt;</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25496.aspx</link><pubDate>Wed, 09 Jan 2008 02:07:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25496</guid><dc:creator>kyledude04</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25496</wfw:commentRss><description>&lt;p&gt;The reason for the csv file is that the user has some data in a format which can be pasted directly into excel (this is what the users are doing in their current process).&amp;nbsp; I tried creating a table in the infopath form which they could paste the data into but ran into problems with different numbers of rows.&amp;nbsp; If there is an easy way to paste data from excel into a table or control within the form, this would probably fix the problem.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25495.aspx</link><pubDate>Wed, 09 Jan 2008 00:59:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25495</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25495.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25495</wfw:commentRss><description>&lt;p&gt;Have you thought about creating an xml file instead of a CSV?&amp;nbsp; Then you could use it as a data source.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;You can create ODBC connections to a CSV file.&amp;nbsp; I believe you could have each have an ODBC connection to the file you create and then load the data from the file via a secondary data connection.&amp;nbsp; That would pass the data from whatever is creating the data to your form.&amp;nbsp; I would create the data structure in your form and then import it in from the CSV. Then they update it in the form and it is delivered to the next one within the form.&lt;/p&gt;</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25493.aspx</link><pubDate>Wed, 09 Jan 2008 00:48:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25493</guid><dc:creator>kyledude04</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25493</wfw:commentRss><description>&lt;p&gt;Thanks for the quick response.&lt;/p&gt;
&lt;p&gt;I cannot use a hyperlink as the form is emailed to different users for approval and final processing and these users do not have access to common share drives.&lt;/p&gt;
&lt;p&gt;What I am trying to do is under certain conditions, a .csv file is created on the users local drive and then attached to the form in a file attachment control (there is a reason that this data needs to be captured in a seperate .csv file and not on the form).&amp;nbsp; The user is then able to open this .csv file, input some required data and then send the form to a mail recipient.&lt;/p&gt;
&lt;p&gt;Using infopath 2003 and vbscript, I am able to programmatically create the file on the users local drive but I am not sure of the code required to attach it to the form.&amp;nbsp; Any help would be appreciated.&lt;/p&gt;</description></item><item><title>Re: Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25472.aspx</link><pubDate>Tue, 08 Jan 2008 14:38:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25472</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25472</wfw:commentRss><description>&lt;p&gt;This is possible.&amp;nbsp; Do you want it in the standard Attachment control or something else?&lt;/p&gt;
&lt;p&gt;Have you thought about just adding a hyperlink instead of embedding it in the form?&lt;/p&gt;
&lt;p&gt;You can point a file at the attachment control, I believe on MSDN it details what can be done witht he attachment control but I know you can set a file to it. It has been a year or so since I have done this.&lt;/p&gt;</description></item><item><title>Attach file programmatically</title><link>https://www.infopathdev.com:443/forums/thread/25466.aspx</link><pubDate>Tue, 08 Jan 2008 03:29:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25466</guid><dc:creator>kyledude04</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25466</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Can anyone tell me if it is possible to attach a file to a Infopath 2003 form programmatically, using VBScript.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>