<?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>Opening a form programmatically on load event</title><link>https://www.infopathdev.com:443/forums/thread/39400.aspx</link><pubDate>Wed, 11 Mar 2009 08:34:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39400</guid><dc:creator>RuudC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39400.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=39400</wfw:commentRss><description>&lt;p&gt;In my InfoPath solution, every user has his own XML file he/she can edit. These are stored in a common directory, with their windows usernames representing the form files.&lt;/p&gt;&lt;p&gt;I want the following to happen:&lt;/p&gt;&lt;p&gt;When any user opens the XSN template, it should automatically open/load the appropriate file belonging to that user. If none exist, it will open the default. &lt;/p&gt;&lt;p&gt;Any idea on how to do this? I can save in a similar fashion using this.SaveAs(UserName), but there seems no Load / Open equivelant.&lt;/p&gt;&lt;p&gt;I&amp;#39;m using C#, by the way. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>