<?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 to form</title><link>https://www.infopathdev.com:443/forums/thread/22818.aspx</link><pubDate>Fri, 31 Aug 2007 23:08:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22818</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22818.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22818</wfw:commentRss><description>&lt;p&gt;It depends on whether you are using IP03 compatible code or not... If you are using the IP07 OM, then just select the node as you normally would and set the value to the base64 string. It&amp;#39;s the same thing.&lt;/p&gt;</description></item><item><title>Re: Attach file to form</title><link>https://www.infopathdev.com:443/forums/thread/22674.aspx</link><pubDate>Mon, 27 Aug 2007 21:18:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22674</guid><dc:creator>ramram_v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22674</wfw:commentRss><description>&lt;p&gt;Thanks for the reply, but Iam&amp;nbsp;working with Infopath 2007 form. .text and Xdocument can use only Infopath 2003 right?!&lt;/p&gt;</description></item><item><title>Re: Attach file to form</title><link>https://www.infopathdev.com:443/forums/thread/22668.aspx</link><pubDate>Mon, 27 Aug 2007 19:26:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22668</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22668.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22668</wfw:commentRss><description>&lt;p&gt;Load your binary file into a &lt;strong&gt;&lt;u&gt;byte[] array&lt;/u&gt;&lt;/strong&gt;, then use &lt;strong&gt;&lt;u&gt;string b64val&amp;nbsp;= Convert.ToBase64String(array)&lt;/u&gt;&lt;/strong&gt; to get the base64 string value. This value is then set to the file attachment field in your form.&lt;/p&gt;
&lt;p&gt;thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:Base64File&amp;quot;).text = b64val;&lt;/p&gt;</description></item><item><title>Re: Attach file to form</title><link>https://www.infopathdev.com:443/forums/thread/22552.aspx</link><pubDate>Wed, 22 Aug 2007 21:43:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22552</guid><dc:creator>ramram_v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22552.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22552</wfw:commentRss><description>&lt;p&gt;Please provide more details on Attaching file to the form using code&lt;/p&gt;</description></item><item><title>Re: Attach file to form</title><link>https://www.infopathdev.com:443/forums/thread/22119.aspx</link><pubDate>Tue, 31 Jul 2007 21:29:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22119</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22119.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22119</wfw:commentRss><description>If you have a base64 field in your form, you can load a file via C#, convert it to base64 and then populate that field with the converted base64 value.</description></item><item><title>Attach file to form</title><link>https://www.infopathdev.com:443/forums/thread/22112.aspx</link><pubDate>Tue, 31 Jul 2007 18:28:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22112</guid><dc:creator>edove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22112</wfw:commentRss><description>Can this be done programmatically in c#?&lt;br /&gt;</description></item></channel></rss>