<?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: Form opening takes forever as soon as managed code is added, even with no code.</title><link>https://www.infopathdev.com:443/forums/thread/47848.aspx</link><pubDate>Tue, 13 Oct 2009 13:39:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47848</guid><dc:creator>caust</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47848</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve attempted what you suggested... 1) Published&amp;nbsp;InfoPath form&amp;nbsp;with C# code behind to a SharePoint Form Library, 2) Opened an instance of the form. (It took over a minute) 3) I closed the form and opened a new form. (Again, it took over a minute.)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;sigh&amp;gt; I really hate working around VBScript limitations. I would love to be able to code C#. Any other suggestions? I&amp;#39;m using InfoPath 2007, SharePoint 2007, Visual Studio 2005... Any other information that might be useful?&lt;/p&gt;
&lt;p&gt;Thanks again for the posts.&lt;/p&gt;</description></item><item><title>Re: Form opening takes forever as soon as managed code is added, even with no code.</title><link>https://www.infopathdev.com:443/forums/thread/47831.aspx</link><pubDate>Tue, 13 Oct 2009 01:47:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47831</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47831</wfw:commentRss><description>&lt;p&gt;by deploy i meant publishing to the site, when you publish a form to a site and then the first form takes lot of time after which the performance is ok. But your seems to be a different case.&lt;/p&gt;</description></item><item><title>Re: Form opening takes forever as soon as managed code is added, even with no code.</title><link>https://www.infopathdev.com:443/forums/thread/47828.aspx</link><pubDate>Mon, 12 Oct 2009 22:51:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47828</guid><dc:creator>caust</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47828</wfw:commentRss><description>&lt;p&gt;Thanks a lot for your reply, Qazi.&lt;/p&gt;
&lt;p&gt;When you say &amp;quot;deploy&amp;quot; do you mean create a new form from a template... by double-clicking on the template file, or clicking the &amp;quot;Create&amp;quot; button in a sharepoint form library? If so, then deploying takes a long time. And everytime the form is opened after it is initially created, it takes a&amp;nbsp;long time. It&amp;#39;s not just a matter of seconds, it takes minutes. Users think that their infopath app is crashing.&lt;/p&gt;
&lt;p&gt;Building the project only takes a matter of seconds. If that&amp;#39;s what you mean by deploy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My code project doesn&amp;#39;t even contain any statements. The event methods are just empty shells. I need to troubleshoot this form creation/opening issue before I&amp;#39;ll even bother with actual.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again for your post.&lt;/p&gt;</description></item><item><title>Re: Form opening takes forever as soon as managed code is added, even with no code.</title><link>https://www.infopathdev.com:443/forums/thread/47819.aspx</link><pubDate>Mon, 12 Oct 2009 16:20:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47819</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47819</wfw:commentRss><description>&lt;p&gt;whenever u deploy a form, specially a form with code behind, first time it is loaded it takes some time. are you talking about that or your form takes more time in general&lt;/p&gt;</description></item><item><title>Form opening takes forever as soon as managed code is added, even with no code.</title><link>https://www.infopathdev.com:443/forums/thread/47788.aspx</link><pubDate>Sun, 11 Oct 2009 20:16:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47788</guid><dc:creator>caust</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47788</wfw:commentRss><description>&lt;p&gt;I read everywhere that people are enjoying developing behind infopath forms with managed code. I don&amp;#39;t understand how it works because as soon as I generate a project by adding my first event, forms based in the template immediately take 1 - 5 minutes to open. It&amp;#39;s simple without managed code, forms open immediately. Using VBScript (which I can&amp;#39;t stand) forms open immediately. Using C# or VB forms take forever to open. I&amp;#39;m not loading data from a data source. I don&amp;#39;t have a lot of controls. I&amp;#39;m so confused as to how I&amp;#39;ve found an issue that no one on the internet has ever posted about. :-)&lt;/p&gt;
&lt;p&gt;I would be so grateful if someone might tell me what I&amp;#39;m doing wrong. I want to use C# behind infopath forms. But it isn&amp;#39;t feasible if forms take minutes to open. It almost seems like the form is trying to access a network location on open when code is part of the template. This shouldn&amp;#39;t be the case because the only data sources are found in the built-in myFields groups which I assume are part of the form template.&lt;/p&gt;
&lt;p&gt;Please Help Infopath gurus&lt;/p&gt;</description></item></channel></rss>