<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57771.aspx</link><pubDate>Sun, 08 Aug 2010 12:00:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57771</guid><dc:creator>imransulehri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57771.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57771</wfw:commentRss><description>Hi,infact i don&amp;#39;t think it will be problem for every user acesses the form from server( I am not deploying my template to sharepoint document library). So on every user machine file is temporarily saved to e.g c:\temp and as form is closed i opted to delete the temp file. This was my idea but now i am thinking not to do this and i opting now to change the url of dataconnection as once template is deployed to customer i have to change the url of data connection.</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57726.aspx</link><pubDate>Fri, 06 Aug 2010 12:29:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57726</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57726</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I just think of it, If you save your picture locally it will work for the current user but not if a user try to open it from other location. Is it possible to save your file on a drive Share or on a sharepoint Document library?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57725.aspx</link><pubDate>Fri, 06 Aug 2010 11:57:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57725</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57725</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You&amp;#39;re welcome&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57723.aspx</link><pubDate>Fri, 06 Aug 2010 10:02:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57723</guid><dc:creator>imransulehri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57723</wfw:commentRss><description>Hi,I figured it out though saving file localy isnt good idea anyhow its working.I converted the byte[] to image saved it locally and set the InnerXml property of richtextbox. Dont set using set value instead InnerXml. It works.Thanks to Potenkime for this idea and support.Imran</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57721.aspx</link><pubDate>Fri, 06 Aug 2010 08:16:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57721</guid><dc:creator>imransulehri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57721.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57721</wfw:commentRss><description>Hi,You tried your example link http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/ you gave me before and as you suggested in your last email saved the file locally and then change the InnerXml of richtextbox??? Can i insert the base64 converted string of byte[] as source of IMG element?? Can i use the .net Convert.TOBase64String method or have to convert as shown in example link you mentioned before??
Thanks Imran</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57698.aspx</link><pubDate>Thu, 05 Aug 2010 18:18:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57698</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57698</wfw:commentRss><description>&lt;p&gt;Hi, I try this I can make it work on an attachment file but not on a picture, I don&amp;#39;t know why. You can do something a little&amp;nbsp;different&amp;nbsp;with a&amp;nbsp;Rich text field. you save your file somewhere and you modify the inner xml of your RT field like that:&lt;/p&gt;
&lt;p&gt;&amp;lt;IMG xmlns=\&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml/"&gt;http://www.w3.org/1999/xhtml\&lt;/a&gt;&lt;font color="#000000"&gt;&amp;quot; SRC=\&amp;quot;&amp;quot; + YOURPATH+ &amp;quot;\&amp;quot; /&amp;gt;&amp;quot;;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;It will show you the image&lt;/p&gt;</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57691.aspx</link><pubDate>Thu, 05 Aug 2010 16:00:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57691</guid><dc:creator>imransulehri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57691</wfw:commentRss><description>hello potemkine
thanks for prompt reply. 
Here what i tried     byte[] ar = IPWS.Code39(barCode);
				String str = Convert.ToBase64String(ar);
				XPathNavigator root = MainDataSource.CreateNavigator();
				root.SelectSingleNode(&amp;quot;/my:myFields/my:field17&amp;quot;, NamespaceManager).SetValue(str);

Didnt work. The last example you gave me seems a complex one can u help how to use it.
thanks 
imran</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57689.aspx</link><pubDate>Thu, 05 Aug 2010 15:53:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57689</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57689</wfw:commentRss><description>&lt;p&gt;I just check, you have to encode your field here a good exemple:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/"&gt;http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57686.aspx</link><pubDate>Thu, 05 Aug 2010 15:46:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57686</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57686.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57686</wfw:commentRss><description>&lt;p&gt;Have you try to convert to byte [] to base64 and put it in your field ?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.exampledepot.com/egs/java.net/base64.html"&gt;http://www.exampledepot.com/egs/java.net/base64.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>picture box control question</title><link>https://www.infopathdev.com:443/forums/thread/57683.aspx</link><pubDate>Thu, 05 Aug 2010 15:13:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57683</guid><dc:creator>imransulehri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=57683</wfw:commentRss><description>Hello every one,
I have webservice method that returns byte[] which is barcode image. I want to display this image on infopath. i am using picture box for this purpose. I dont know how to bind the byte[] to pciture box so that it displays the image??Urgent help needed in this regard

Thanks
Imran</description></item></channel></rss>