<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Using MOSS's resource files</title><link>https://www.infopathdev.com:443/forums/thread/20160.aspx</link><pubDate>Fri, 25 May 2007 03:49:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20160</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20160.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=20160</wfw:commentRss><description>&lt;p&gt;Are you talking about the resource files you have added to your form in InfoPath? In this case, those files are available to be used by your code - they reside the in the same folder your assembly is being executed from.&lt;/p&gt;&lt;p&gt;That means that if you have a file called &amp;quot;data.txt&amp;quot;, you could read its contents in this way:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;p&gt;string&lt;font size="2"&gt; data = System.IO.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;File&lt;/font&gt;&lt;font size="2"&gt;.ReadAllText(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;data.txt&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font size="2"&gt;Note that your form has to be fully trusted which is always the case anyway for solutions with business logic that run in MOSS.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;Still, if your data is in the XML format, there is an easier way to access it. Instead of adding your XML file as a resource, add it as a data connection (and then tell InfoPath to add the file as a resource automatically). You can then access those values by either dragging them into your form or by using rules - so no need to write code.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;I hope this answers the question...&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Using MOSS's resource files</title><link>https://www.infopathdev.com:443/forums/thread/19765.aspx</link><pubDate>Fri, 11 May 2007 07:04:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19765</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=19765</wfw:commentRss><description>Well, in theory it is possible wich code behind, but unfortunatly I`ve never tried this :(</description></item><item><title>Using MOSS's resource files</title><link>https://www.infopathdev.com:443/forums/thread/19578.aspx</link><pubDate>Fri, 04 May 2007 06:53:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19578</guid><dc:creator>Marcin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19578.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=19578</wfw:commentRss><description>Hello, i&amp;#39;m developing a workflow in MOSS, and i want to use in my ip forms values from resource files. Is this possible? Just in clear ip form? In code behind?</description></item></channel></rss>