<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Linking script variables with fields in InfoPath forms using Visual Studio Tools for Applications</title><link>https://www.infopathdev.com:443/forums/thread/36933.aspx</link><pubDate>Mon, 12 Jan 2009 15:09:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36933</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36933</wfw:commentRss><description>&lt;p&gt;In the C# 2003 DOM, it would be thisXDocument.DOM.selectSingleNode(&amp;quot;//my:txtUId&amp;quot;)&lt;/p&gt;
&lt;p&gt;In the C# 2007 DOM, it would be MainDataSource.CreateNavigator.SelectSingleNode(&amp;quot;//my:txtUId&amp;quot;, NamespaceManager)&lt;/p&gt;</description></item><item><title>Linking script variables with fields in InfoPath forms using Visual Studio Tools for Applications</title><link>https://www.infopathdev.com:443/forums/thread/36932.aspx</link><pubDate>Mon, 12 Jan 2009 14:54:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36932</guid><dc:creator>hensleydl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36932.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36932</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working on infopath forms that will be used through sharepoint.&amp;nbsp; Because the forms will be web based, I&amp;#39;m having to use visual studio tools for applications (VSTA).&amp;nbsp; I transferred my code from an existing form with the object code developed in vbscript and found out that the linkage would not work&lt;/p&gt;
&lt;p&gt;i.e.&amp;nbsp; txtUId = XDocument.DOM.selectSingleNode(&amp;quot;//my:txtUId&amp;quot;)&lt;/p&gt;
&lt;p&gt;is there a correct way to link the object variables with the form fields?&amp;nbsp; Any suggestions are welcome.&lt;/p&gt;</description></item></channel></rss>