<?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: Error in startup</title><link>https://www.infopathdev.com:443/forums/thread/2744.aspx</link><pubDate>Thu, 13 Jul 2006 08:18:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2744</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2744</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;why are you writing this code in the _Startup or _Shutdown method ?.&lt;br /&gt;&lt;br /&gt;You can write this in the Onload event to populate the user lookup field.&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Error in startup</title><link>https://www.infopathdev.com:443/forums/thread/1416.aspx</link><pubDate>Thu, 13 Jul 2006 00:25:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1416</guid><dc:creator>garym</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1416.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1416</wfw:commentRss><description>I have the following statement in my startup routine.&lt;br /&gt;&lt;br /&gt;thisXDocument.DOM.selectSingleNode("//my:UserLookup").text = "Gary"&lt;br /&gt;&lt;br /&gt;I am trying to pre-populate the user lookup field and I receive the following error&lt;br /&gt;&lt;br /&gt;The _Startup or _Shutdown method in this form's code contains one or more calls to members of the Microsoft.Office.Interop.InfoPath.SemiTrust namespace. Calls to this namespace from these methods&lt;br /&gt;&lt;br /&gt;How do I modify the field before being displayed to the user?&lt;br /&gt;&lt;br /&gt;Thanks for the help!!&lt;br /&gt;&lt;br /&gt;Gary</description></item></channel></rss>