<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Crash opening a saved form</title><link>https://www.infopathdev.com:443/forums/thread/18196.aspx</link><pubDate>Wed, 11 Oct 2006 10:56:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18196</guid><dc:creator>LaurieAPMarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18196</wfw:commentRss><description>Thanks for the info Matt. &lt;br /&gt;&lt;br /&gt;Yes, I can successfully open &amp;gt;1 form by double-clicking on the form file.  I only get the crash using the Open command within InfoPath.  &lt;br /&gt;&lt;br /&gt;If I make any additional progress, I will post it here.</description></item><item><title>Re: Crash opening a saved form</title><link>https://www.infopathdev.com:443/forums/thread/18195.aspx</link><pubDate>Mon, 09 Oct 2006 15:54:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18195</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18195.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18195</wfw:commentRss><description>Hey Laurie,&lt;br /&gt;&lt;br /&gt;It seems that you are running into the incredibly weird, annoying, and downright perplexing bug that Thierry and I have also run into.  Our discussion is outlined here:&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2311&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2311&lt;/a&gt; .  However, it seems like you found a slight workaround by double-clicking instead of using File-&amp;gt;Open.&lt;br /&gt;&lt;br /&gt;Let me ask you this: Are you able to open two of the same forms at the same time? This is when I was seeing the crash, and let me tell you it makes development incredibly annoying.&lt;br /&gt;&lt;br /&gt;Sorry to disappoint you, but I don't think there is anything you can do except switch to IP2007 as I've heard this bug is fixed there.  I haven't tried it personally, but that's what I've heard.&lt;br /&gt;&lt;br /&gt;Good luck and let us know if you figure anything out!</description></item><item><title>Re: Crash opening a saved form</title><link>https://www.infopathdev.com:443/forums/thread/18194.aspx</link><pubDate>Mon, 09 Oct 2006 06:14:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18194</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18194.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18194</wfw:commentRss><description>Hi Laurie,&lt;br /&gt;I've asked Matt to respond to this. More soon!~</description></item><item><title>Crash opening a saved form</title><link>https://www.infopathdev.com:443/forums/thread/18035.aspx</link><pubDate>Fri, 06 Oct 2006 15:56:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18035</guid><dc:creator>LaurieAPMarsh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18035</wfw:commentRss><description>I have followed the instructions in the "Add Custom Buttons to the Repeating Table and Section Widget" Tutorial - except that I am using C# managed code behind the form.  &lt;br /&gt;&lt;br /&gt;I then create a new form with some data in it and save it to a file.  &lt;br /&gt;&lt;br /&gt;When I open that saved form using the File Open command in InfoPath, InfoPath crashes with the "Microsoft Office InfoPath has encountered a problem and needs to close.  We are sorry for the inconvenience." error.  &lt;br /&gt;&lt;br /&gt;I have narrowed it down to the mere existance of the OnClick event handler for my added button.  Below is my event handler.  When it is included in the solution, InfoPath crashes.  If I delete this method and only this method, it doesn't crash.  &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;[InfoPathEventHandler(MatchPath = "widgetMoveToAccomplished", EventType = InfoPathEventType.OnClick)]&lt;br /&gt;public void widgetMoveToAccomplished_OnClick(DocActionEvent e)&lt;br /&gt;{&lt;br /&gt;   try&lt;br /&gt;   {&lt;br /&gt;      thisXDocument.UI.Alert("got here");&lt;br /&gt;   }&lt;br /&gt;   catch (Exception err)&lt;br /&gt;   {&lt;br /&gt;      thisXDocument.UI.Alert("Error occured: " + err.Message);&lt;br /&gt;   }&lt;br /&gt;}  //  End of widgetMoveToAccomplished_OnClick.  &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another piece of interesting information is that if I double-click on the saved form to open it (instead of using the File Open command), InfoPath will open the form without crashing and yes, my added button in the repeating table menu works just fine.  &lt;br /&gt;&lt;br /&gt;Anyone go any ideas how to work around this crash (other than telling the users not to use the File Open menu command)??&lt;br /&gt;</description></item></channel></rss>