<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: IP 2003 Button OnClick field access</title><link>https://www.infopathdev.com:443/forums/thread/27362.aspx</link><pubDate>Thu, 20 Mar 2008 20:05:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27362</guid><dc:creator>AlanK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27362</wfw:commentRss><description>&lt;p&gt;Thanks.&amp;nbsp; I still had to play a bit with the namespaces, but in the end my: won out.&amp;nbsp; I&amp;#39;m still not sure why, but for now I don&amp;#39;t mind basking in ignorance. :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: IP 2003 Button OnClick field access</title><link>https://www.infopathdev.com:443/forums/thread/27360.aspx</link><pubDate>Thu, 20 Mar 2008 19:44:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27360</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27360.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27360</wfw:commentRss><description>&lt;p&gt;Welcome to the forum.&lt;/p&gt;
&lt;p&gt;Yah, You just need to get the syntax correct.&lt;/p&gt;
&lt;p&gt;Here is a thread with some sample VBscript where they are assigning values.&amp;nbsp; You set the node and then use the .text to get the value.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/5444/20497.aspx#20497"&gt;http://www.infopathdev.com/forums/p/5444/20497.aspx#20497&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IP 2003 Button OnClick field access</title><link>https://www.infopathdev.com:443/forums/thread/27358.aspx</link><pubDate>Thu, 20 Mar 2008 19:35:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27358</guid><dc:creator>AlanK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27358</wfw:commentRss><description>&lt;p&gt;Some help for an InfoPath beginner.&amp;nbsp; I&amp;#39;ve done some light VBScript, but I&amp;#39;m a bit lost here in InfoPath 2003.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a text box on a form with a path entered.&amp;nbsp; I created a button called &amp;quot;Open&amp;quot; to open that path in Explorer.&amp;nbsp; This code works:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;Set objShell = CreateObject (&amp;quot;WScript.Shell&amp;quot;)&lt;p&gt;objShell.Run &amp;quot;C:\Path&amp;quot;,1,false&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;I want to change that it gets the path from the text box instead of having it hard-coded.&amp;nbsp; I figured that I need some code to pull the data using the XPath, but everything I&amp;#39;ve tried has come up with an error.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can someone help a novice?&amp;nbsp; Thanks.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>