<?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: Picture in RichTextBox</title><link>https://www.infopathdev.com:443/forums/thread/55037.aspx</link><pubDate>Wed, 19 May 2010 12:36:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55037</guid><dc:creator>nsdolic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55037</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy&lt;/p&gt;</description></item><item><title>Re: Picture in RichTextBox</title><link>https://www.infopathdev.com:443/forums/thread/54918.aspx</link><pubDate>Sat, 15 May 2010 03:31:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54918</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54918</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You need to insert an &amp;lt;img&amp;gt; node into your rich text as follows:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; src=&amp;quot;msoinline/&lt;u&gt;&lt;b&gt;identifier&lt;/b&gt;&lt;/u&gt;&amp;quot; xmlns:xd=&amp;quot;http://schemas.microsoft.com/office/infopath/2003&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;xd:inline=&amp;quot;&lt;u&gt;&lt;b&gt;img data&lt;/b&gt;&lt;/u&gt;&amp;quot; /&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;You can also include a style=&amp;quot;&amp;quot; attribute if you like. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I haven&amp;#39;t been able to find any good information on how &lt;u&gt;&lt;b&gt;identifier&lt;/b&gt;&lt;/u&gt; is determined, but from my experimentation, it seems like InfoPath doesn&amp;#39;t care as long as it&amp;#39;s a non-empty string of letters and numbers.&amp;nbsp; &lt;u&gt;&lt;b&gt;img data&lt;/b&gt;&lt;/u&gt; is the image&amp;#39;s bytes in Base-64 encoding.&amp;nbsp; If you&amp;#39;re having the user attach the image via a Picture control, you can take the string right from there.&amp;nbsp; If you&amp;#39;re loading the bytes from somewhere outside the form, you should be able to use the framework function Convert.ToBase64String() &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Picture in RichTextBox</title><link>https://www.infopathdev.com:443/forums/thread/54908.aspx</link><pubDate>Fri, 14 May 2010 18:39:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54908</guid><dc:creator>nsdolic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54908.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54908</wfw:commentRss><description>&lt;p&gt;Is this the right forum for this type of question?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;</description></item><item><title>Picture in RichTextBox</title><link>https://www.infopathdev.com:443/forums/thread/54836.aspx</link><pubDate>Thu, 13 May 2010 14:46:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54836</guid><dc:creator>nsdolic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54836</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;is it possible to insert picture into RichTextBox infopath form programatically. Here are more details:&lt;/p&gt;
&lt;p&gt;User&amp;nbsp;clicks on button and opens Openfile dialog.&lt;/p&gt;
&lt;p&gt;User selects picture and clicks OK. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The picture is inserted into RichTextBox on infopath form.&lt;/p&gt;
&lt;p&gt;I would prefer (*.tif) format if possible. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;</description></item></channel></rss>