<?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: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/46108.aspx</link><pubDate>Fri, 21 Aug 2009 01:53:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46108</guid><dc:creator>basquang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46108.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46108</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy. It work well!&lt;/p&gt;</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/46075.aspx</link><pubDate>Thu, 20 Aug 2009 04:12:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46075</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46075.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46075</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can get a Stream object to the any of the XSN&amp;#39;s files using the method OpenFileFromPackage() like this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;this.Template.OpenFileFromPackage(&amp;quot;view1.xsl&amp;quot;) &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This will allow you to acces the files&amp;#39; contents, but not modify them at runtime. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/46072.aspx</link><pubDate>Thu, 20 Aug 2009 03:22:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46072</guid><dc:creator>basquang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46072</wfw:commentRss><description>&lt;p&gt;Hi All!&lt;/p&gt;
&lt;p&gt;Can I use C# code to access Resource Files (template.xsl) in InfoPath 2007? How to use it?&lt;/p&gt;</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/7401.aspx</link><pubDate>Tue, 09 Aug 2005 07:39:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7401</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7401.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7401</wfw:commentRss><description>Hi Patrick and Agni,&lt;br /&gt;&lt;br /&gt;Thanks a lot for your help!&lt;br /&gt;&lt;br /&gt;I know now how I can do!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/7400.aspx</link><pubDate>Mon, 08 Aug 2005 20:12:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7400</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7400.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7400</wfw:commentRss><description>Hi Thierry, &lt;br /&gt;Here is the code that accesses the secondary datasource.&lt;br /&gt;IXMLDOMDocument2 domSecondaryXML = (IXMLDOMDocument2)thisXDocument.CreateDOM();&lt;br /&gt;domSecondaryXML.async = false;&lt;br /&gt;domSecondaryXML.load("datasource.xml");&lt;br /&gt;&lt;br /&gt;Now youc an start using domSecondaryXML like any other IXMLDOMDocument2 object.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/7399.aspx</link><pubDate>Mon, 08 Aug 2005 19:43:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7399</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7399.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7399</wfw:commentRss><description>Yes, then you can access via code and you don't have to hardcode the path. Agni, can you paste some sample code which accesses 2DS files?&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/7398.aspx</link><pubDate>Mon, 08 Aug 2005 13:35:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7398</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7398</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;Hi Thierry,&lt;br /&gt;Tools-&amp;gt;Resource Files-&amp;gt;Add should add your XSL files to the XSN.&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;I'm ok with this ;-) &lt;br /&gt;&lt;br /&gt;My problem is when you use the form. Sometimes infopath make an error and he say for example : unable to find "a path here/myxsl.xsl"&lt;br /&gt;&lt;br /&gt;My question was how to know or how to be sure that infopath can find my xsl file?&lt;br /&gt;&lt;br /&gt;If I have good understand, you say me that is better to link my XSL as a datasource! So you can include in the xsn my xsl! I am  right?&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/7397.aspx</link><pubDate>Mon, 08 Aug 2005 08:19:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7397</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7397.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7397</wfw:commentRss><description>Hi Thierry,&lt;br /&gt;Tools-&amp;gt;Resource Files-&amp;gt;Add should add your XSL files to the XSN. If you add it as an XML file, then you can reference it from within the solution using code or in the view by treating it as a data source. How are you trying to reference it? Did you really add it as an XML resource file (note: XSL is just XML)?&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Ressource Files</title><link>https://www.infopathdev.com:443/forums/thread/4835.aspx</link><pubDate>Mon, 08 Aug 2005 07:31:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4835</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4835.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4835</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have some ressource Files in my form (XSL files) and I have sometimes problem with them!&lt;br /&gt;&lt;br /&gt;How to know where I have to copy them?&lt;br /&gt;&lt;br /&gt;Because If I open my form sometimes infopath don't find my xsl because he search on my desktop and sometimes that work because he go on c:\ (where the file was when I have link it to my form)! and when you are in debug mode you have to put your files on c:\Progrm Files\Visual Stuio .Net 2003\Common7\IDE !&lt;br /&gt;&lt;br /&gt;Is there any way to put this file in the xsn for don't have this problem of deployment? Or things to make for be sure that infopath go on the right place?&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;P.S. Patrick if it's in your book can you say me in which chapter? Because I don't remember that you speak about that! Thanks&lt;br /&gt;&lt;br /&gt;I don't understand&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item></channel></rss>