<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx</link><description>Summary: To improve the perception of a more responsive startup experience many WPF applications added a Splash Screen to their startup. &amp;#160; The Splash Screen, which does not load WPF code shows as soon as possible and is displayed until the application</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>a-foton &amp;raquo; What???s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8853425</link><pubDate>Tue, 12 Aug 2008 23:29:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8853425</guid><dc:creator>a-foton &amp;raquo; What???s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.a-foton.ru/2008/08/what%e2%80%99s-new-in-wpf-35-sp1-splash-screen-to-improve-perceived-startup-perf/"&gt;http://blog.a-foton.ru/2008/08/what%e2%80%99s-new-in-wpf-35-sp1-splash-screen-to-improve-perceived-startup-perf/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8854595</link><pubDate>Wed, 13 Aug 2008 02:59:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8854595</guid><dc:creator>lvovan</dc:creator><description>&lt;p&gt;Hi Josef, for the &amp;quot;Does not support earlier versions of VS&amp;quot; caveat, isn't it just for Approach A?&lt;/p&gt;
</description></item><item><title>WPF SplashScreen Template</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8866926</link><pubDate>Thu, 14 Aug 2008 17:33:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8866926</guid><dc:creator> Lester's WPF blog</dc:creator><description>&lt;p&gt;The Splashscreen feature was part of SP1. However, there was no VS template to get it done fast. We have&lt;/p&gt;
</description></item><item><title>re: What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8867615</link><pubDate>Thu, 14 Aug 2008 21:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8867615</guid><dc:creator>jgoldb</dc:creator><description>&lt;p&gt;WRT &amp;quot;Does not support earlier versions of VS&amp;quot; caveat. Yes, you should still be able to use the SplashScreen APIs (e.g. Approach C)&lt;/p&gt;
</description></item><item><title>[WPF] SplashScreen pour WPF en .NET 3.5 sp1</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8877888</link><pubDate>Tue, 19 Aug 2008 08:20:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8877888</guid><dc:creator>Frédéric Hamel</dc:creator><description>&lt;p&gt;Le d&amp;#233;marrage des applications .NET et notamment WPF surtout &amp;#224; froid peut parfois &amp;#234;tre un probl&amp;#232;me car&lt;/p&gt;
</description></item><item><title>re: What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8948130</link><pubDate>Fri, 12 Sep 2008 23:56:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8948130</guid><dc:creator>robburke</dc:creator><description>&lt;p&gt;Thank you very much for a thorough description of how to use the Splashscreen! &lt;/p&gt;
&lt;p&gt;I have tried using Approach A and Approach C, and in both instances my application sometimes throws a Win32Exception on the Close(timeSpan) method if I switch focus from my app to another app while it is loading.&lt;/p&gt;
&lt;p&gt;This sometimes happens to me, for instance, if I go back to Visual Studio during a debug session, or when I answer OneCare's question about allowing my app to access the internet. &amp;nbsp;Here is the top of the exception's stack trace:&lt;/p&gt;
&lt;p&gt;Unhandled Exception in application AppDomain: System.ComponentModel.Win32Exception: The operation completed successfully&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at MS.Win32.UnsafeNativeMethods.SetActiveWindow(HandleRef hWnd)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Windows.SplashScreen.Close(TimeSpan fadeoutDuration)&lt;/p&gt;
&lt;p&gt;... could I trouble you for any advice for how to resolve this? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am working around the issue for now by using Approach C, and my call to Close(timeSpan) is wrapped in a try/catch block to get the Win32Exception. &amp;nbsp;If the exception is thrown, I try again to close the SplashScreen whenever my application's main window is activated.&lt;/p&gt;
</description></item><item><title>re: What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8948266</link><pubDate>Sat, 13 Sep 2008 01:01:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8948266</guid><dc:creator>jgoldb</dc:creator><description>&lt;p&gt;to robburke :&lt;/p&gt;
&lt;p&gt;I was wondering, are you closing the SpalshScreen Window from another thread (you should close it from the UI thread) ?&lt;/p&gt;
&lt;p&gt;If not:&lt;/p&gt;
&lt;p&gt;Do you see this on XP &amp;amp; Vista?&lt;/p&gt;
&lt;p&gt;Can you send me a little sample with the repro ?&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Jossef&lt;/p&gt;
</description></item><item><title>re: What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8955106</link><pubDate>Wed, 17 Sep 2008 11:08:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8955106</guid><dc:creator>frenk</dc:creator><description>&lt;p&gt;I'm having the same problem as robburke.&lt;/p&gt;
&lt;p&gt;The exception comes now and then, maybe once every 10 startups.&lt;/p&gt;
&lt;p&gt;I used approach A), now I'm testing with C).&lt;/p&gt;
</description></item><item><title>[WPF] SplashScreen pour WPF en .NET 3.5 sp1</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8960689</link><pubDate>Sun, 21 Sep 2008 23:57:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8960689</guid><dc:creator>Frédéric Hamel</dc:creator><description>&lt;p&gt;Le d&amp;#233;marrage des applications .NET et notamment WPF surtout &amp;#224; froid peut parfois &amp;#234;tre un probl&amp;#232;me car&lt;/p&gt;
</description></item><item><title>Win32 Exception: "The operation completed successfully"</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8963283</link><pubDate>Wed, 24 Sep 2008 10:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8963283</guid><dc:creator>teknohippy</dc:creator><description>&lt;p&gt;I'm also having the same problem as robburke.&lt;/p&gt;
&lt;p&gt;This is on Vista.&lt;/p&gt;
&lt;p&gt;I'm using the API with an AutoClose. I'm also forcing a single instance of my App, not sure if that's got anything to do with it.&lt;/p&gt;
</description></item><item><title>re: What’s new in WPF 3.5 SP1: Splash Screen to improve perceived startup perf</title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#8974924</link><pubDate>Fri, 03 Oct 2008 06:28:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8974924</guid><dc:creator>robburke</dc:creator><description>&lt;p&gt;Hi jgoldb -- at first, using approach A, I was closing from whatever thread it &amp;quot;automatically&amp;quot; gets closed from, and getting this exception.&lt;/p&gt;
&lt;p&gt;Now, using approach C, I am closing from the UI thread, in an event handler hooked up to my main window's Activated event. &amp;nbsp;Still getting the exception using this technique.&lt;/p&gt;
&lt;p&gt;Like the other respondants above, this happens maybe once out of every ten times I run the app, but I am able to repro it quite reliably by running in the debugger, and, when the splashscreen is displayed but before my main window has loaded and become visible, I click on Visual Studio to bring the focus away from the splashscreen and to Visual Studio.&lt;/p&gt;
&lt;p&gt;This is on Vista SP1.&lt;/p&gt;
&lt;p&gt;I can't send you the repro right now as the project is massive (and contains my clients' IP). &amp;nbsp;Have you managed to repro this? &amp;nbsp;Sounds like I am not the only one experiencing the issue. &amp;nbsp;Please drop me mail if I can help somehow.&lt;/p&gt;
</description></item><item><title>Synchronizing splashscreen fade away with main window </title><link>http://blogs.msdn.com/jgoldb/archive/2008/08/12/what-s-new-in-wpf-3-5-sp1-splash-screen-to-improve-perceived-startup-perf.aspx#9230225</link><pubDate>Wed, 17 Dec 2008 07:38:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9230225</guid><dc:creator>e28makaveli</dc:creator><description>&lt;p&gt;Silly question but is there a way for one to synchronize complete fade away of splash screen with main window launch?&lt;/p&gt;
&lt;p&gt;Now, before the splash screen completely fades away my main window launches. &amp;nbsp;I want the main window to launch only after the splash screen has completely faded away.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
</description></item></channel></rss>