<?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>Clemens Schotte's Blog</title><link>http://blogs.msdn.com/cschotte/default.aspx</link><description>Consultant for Microsoft Services in the Netherlands</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Receive Windows Web Server and SQL Server Web Edition at no cost to host new websites</title><link>http://blogs.msdn.com/cschotte/archive/2009/09/26/receive-windows-web-server-and-sql-server-web-edition-at-no-cost-to-host-new-websites.aspx</link><pubDate>Sat, 26 Sep 2009 14:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9899845</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/9899845.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=9899845</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://www.microsoft.com/web/websitespark/" target=_blank mce_href="http://www.microsoft.com/web/websitespark/"&gt;WebsiteSpark&lt;/A&gt; is a new global program, designed by Microsoft to help small professional Web development and design service companies succeed, by providing new business opportunities through connections with global partners and customers, support and training, and software tools – at no upfront cost. WebsiteSpark provides professional Web development and design companies with an innovative vehicle to get access to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Business Opportunities: Opportunities to expand their customer base and drive new business, by showcasing their capabilities and connecting with partners via the WebsiteSpark Marketplace and other Microsoft marketing and business networking vehicles.&lt;/LI&gt;
&lt;LI&gt;Support and training: Professional support from Microsoft and connections with WebsiteSpark Network Partners, Hosting Partners, and other Web developers and designers with complementary technologies or business models—an entire ecosystem that can provide a wide range of technical and business resources for every Web professional need.&lt;/LI&gt;
&lt;LI&gt;Software and solutions: Fast, easy, and immediate access to current full-featured Microsoft development tools and Web server production licenses at no upfront cost, to build, design and bring to market differentiated, innovative, and rich Internet sites.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Read more about &lt;A href="http://www.microsoft.com/web/websitespark/" target=_blank mce_href="http://www.microsoft.com/web/websitespark/"&gt;WebsiteSpark&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899845" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Web/default.aspx">Web</category></item><item><title>Native VHD boot</title><link>http://blogs.msdn.com/cschotte/archive/2009/09/11/native-vhd-boot.aspx</link><pubDate>Fri, 11 Sep 2009 15:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9894155</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/9894155.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=9894155</wfw:commentRss><description>&lt;P&gt;Native VHD boot enables a physical machine to be booted directly from a virtual hard disk (VHD) with no requirement for virtualization software (such as Microsoft Virtual PC or Hyper-V). Native VHD boot is made possible with the addition of a new mini-port driver within the Windows 7 operating system which is responsible for all IO operations to and from the disk. Earlier versions of the Windows operating system such as Windows Vista, Windows XP and Windows 2000 do not support Native VHD boot and therefore cannot be used to provide the capabilities described within this document.&lt;/P&gt;
&lt;P&gt;With the introduction of native VHD boot, it is now possible to achieve a single image deployment strategy for physical and virtual machines alike. As long as the operating system that resides on the VHD is generalized and hosts either Windows 7 Enterprise, Windows 7 Ultimate or Windows Server 2008 R2 (all versions), it can be used in both environments.&lt;/P&gt;
&lt;P&gt;See the blog post from my colleague, &lt;A href="http://blogs.technet.com/michw/default.aspx" target=_blank mce_href="http://blogs.technet.com/michw/default.aspx"&gt;Michael Waterman&lt;/A&gt; for the complete &lt;A href="http://blogs.technet.com/michw/archive/2009/08/01/windows-native-vhd-boot-deployment-scenarios.aspx" target=_blank mce_href="http://blogs.technet.com/michw/archive/2009/08/01/windows-native-vhd-boot-deployment-scenarios.aspx"&gt;Windows Native VHD Boot Deployment Scenarios&lt;/A&gt; Guide.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9894155" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/VHD/default.aspx">VHD</category><category domain="http://blogs.msdn.com/cschotte/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>VHD mounting under Windows 7</title><link>http://blogs.msdn.com/cschotte/archive/2009/03/09/vhd-mounting-under-windows-7.aspx</link><pubDate>Mon, 09 Mar 2009 17:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9467793</guid><dc:creator>cschotte</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/9467793.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=9467793</wfw:commentRss><description>&lt;P&gt;Windows 7 has native support for VHD mounting (and booting). In my &lt;A title="VHD Mounting" href="http://blogs.msdn.com/cschotte/archive/2008/03/26/how-to-mount-a-vhd-quickly-under-vista-using-your-mouse.aspx" mce_href="http://blogs.msdn.com/cschotte/archive/2008/03/26/how-to-mount-a-vhd-quickly-under-vista-using-your-mouse.aspx"&gt;earlier blog&lt;/A&gt; post about VHD mounting under Vista you needed &lt;STRONG&gt;vhdmout.exe&lt;/STRONG&gt; from Virtual Server. In Windows 7 you can use &lt;STRONG&gt;Disk Management&lt;/STRONG&gt; and/or &lt;STRONG&gt;diskpart &lt;/STRONG&gt;to mount VHD’s native!&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 538px; HEIGHT: 296px" title="Disk Management" alt="Disk Management" src="http://blogs.msdn.com/photos/cschotte/images/9467803/original.aspx" width=538 height=296 mce_src="http://blogs.msdn.com/photos/cschotte/images/9467803/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;You can also mount a VHD file in scripts using &lt;STRONG&gt;diskpart&lt;/STRONG&gt;. Create a text file with this content:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;SELECT VDISK FILE=”some&amp;nbsp; vhd file”&lt;BR&gt;ATTACH VDISK&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To attach the VHD image in a script, you have to use “diskpart -s &lt;STRONG&gt;textfile&lt;/STRONG&gt;”&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9467793" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/VHD/default.aspx">VHD</category><category domain="http://blogs.msdn.com/cschotte/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>Shake that window in Windows 7</title><link>http://blogs.msdn.com/cschotte/archive/2009/01/08/shake-that-window-in-windows-7.aspx</link><pubDate>Thu, 08 Jan 2009 17:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9297853</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/9297853.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=9297853</wfw:commentRss><description>&lt;P&gt;Windows 7 is smart about windows. Dragging a window to the top of the computer screen maximizes it automatically. Dragging a window to the left or right side of the screen resizes it for side-by-side comparisons to other windows. And moving the mouse to the lower-right corner of the screen makes all&amp;nbsp;open windows transparent. If you shake a window all other windows will minimize, shake the window again and all minimized windows will be visible again.&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 395px; HEIGHT: 605px" title="Windows in Windows 7" alt="Windows in Windows 7" src="http://blogs.msdn.com/photos/cschotte/images/9297879/original.aspx" width=395 height=605 mce_src="http://blogs.msdn.com/photos/cschotte/images/9297879/original.aspx"&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9297853" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>How to mount a VHD under Vista by double clicking</title><link>http://blogs.msdn.com/cschotte/archive/2008/03/26/how-to-mount-a-vhd-quickly-under-vista-using-your-mouse.aspx</link><pubDate>Wed, 26 Mar 2008 17:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8337865</guid><dc:creator>cschotte</dc:creator><slash:comments>22</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/8337865.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=8337865</wfw:commentRss><description>&lt;P&gt;[&lt;A title="VHD mounting in Windows 7" href="http://blogs.msdn.com/cschotte/archive/2009/03/09/vhd-mounting-under-windows-7.aspx" mce_href="http://blogs.msdn.com/cschotte/archive/2009/03/09/vhd-mounting-under-windows-7.aspx"&gt;for Windows 7 read this post&lt;/A&gt;]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my daily work I use a lot of Virtual PC images (VHD) so my host Vista system will stay clean of beta and test software. To get to the files I stored inside a Virtual PC images I normally start the Virtual PC and drag and drop them to my host system. This can be more efficient using the command line tool VHDMount. You mount the VHD and can read and write the files like a normal hard disk in your host system. By importing a small registry file you don’t need the command line anymore and can mount and unmount (dismount) the VHD.&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 322px; HEIGHT: 130px" title="VHD Mount" alt="VHD Mount" src="http://blogs.msdn.com/photos/cschotte/images/8337850/original.aspx" width=322 height=130 mce_src="http://blogs.msdn.com/photos/cschotte/images/8337850/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;This is what you need to do to mount a VHD inside Vista by double clicking.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Microsoft Virtual PC&lt;/STRONG&gt;&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Download "Microsoft Virtual PC 2007" from the following link:&lt;BR&gt;&lt;A href="http://www.microsoft.com/windows/downloads/virtualpc/default.mspx" mce_href="http://www.microsoft.com/windows/downloads/virtualpc/default.mspx"&gt;http://www.microsoft.com/windows/downloads/virtualpc/default.mspx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Install "Microsoft Virtual PC 2007" normally by double clicking.&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Microsoft VHD Mount&lt;/STRONG&gt;&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;VHD Mount is part of "Microsoft Virtual Server 2005 R2 SP1".&lt;/LI&gt;
&lt;LI&gt;Download "Microsoft Virtual Server 2005 R2 SP1 - Enterprise Edition" from the following link:&lt;BR&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=bc49c7c8-4840-4e67-8dc4-1e6e218acce4&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=bc49c7c8-4840-4e67-8dc4-1e6e218acce4&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=bc49c7c8-4840-4e67-8dc4-1e6e218acce4&amp;amp;displaylang=en&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Install (using the custom setup option) only the VHD Mount tool.&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Double clicking VHD integration in Vista&lt;/STRONG&gt;&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Create a text file and rename it to &lt;EM&gt;vhdmount.reg&lt;/EM&gt;.&lt;/LI&gt;
&lt;LI&gt;Edit the &lt;EM&gt;vhdmount.reg&lt;/EM&gt; file and add the following lines:&lt;BR&gt;&lt;BR&gt;&lt;CODE&gt;Windows Registry Editor Version 5.00&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell]&lt;BR&gt;@="Mount"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount\command]&lt;BR&gt;@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /u /c&amp;nbsp;\"%1\""&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount\command]&lt;BR&gt;@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /p \"%1\""&lt;BR&gt;&lt;BR&gt;[HKEY_CLASSES_ROOT\.vhd]&lt;BR&gt;@="Virtual.Machine.HD"&lt;BR&gt;&lt;/CODE&gt;&lt;BR&gt;&lt;/LI&gt;
&lt;LI&gt;Run the &lt;EM&gt;vhdmount.reg&lt;/EM&gt; file.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8337865" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/cschotte/archive/tags/Virtual+PC/default.aspx">Virtual PC</category><category domain="http://blogs.msdn.com/cschotte/archive/tags/VHD/default.aspx">VHD</category></item><item><title>Windows Live Writer</title><link>http://blogs.msdn.com/cschotte/archive/2007/11/07/windows-live-writer.aspx</link><pubDate>Wed, 07 Nov 2007 18:07:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5962058</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/5962058.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=5962058</wfw:commentRss><description>&lt;p&gt;Writing a blog is now so easy! I use Windows Live Writer to post my messages. You can download it at &lt;a title="http://www.windowslive.com/" href="http://www.windowslive.com/"&gt;http://www.windowslive.com/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5962058" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Live/default.aspx">Live</category></item><item><title>Making an video player in Silverlight 1.0</title><link>http://blogs.msdn.com/cschotte/archive/2007/10/11/making-an-video-player-in-silverlight-1-0.aspx</link><pubDate>Fri, 12 Oct 2007 00:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5406655</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/5406655.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=5406655</wfw:commentRss><description>&lt;P&gt;&lt;A class="" href="http://silverlight.net/" target=_blank mce_href="http://silverlight.net/"&gt;Silverlight&lt;/A&gt; is Microsoft’s next generation rich media platform for the Web. Using Silverlight you can deliver Rich Interactive Applications (RIA) to any platform like Linux, Windows, Mac and more. In this post I will explain how to make a simple video player for Silverlight 1.0 using &lt;A class="" href="http://www.microsoft.com/expression/products/overview.aspx?key=blend" target=_blank mce_href="http://www.microsoft.com/expression/products/overview.aspx?key=blend"&gt;Microsoft Expression Blend 2&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What tools do you need?&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Basically you only need a text editor like Notepad, but to make it more user friendly you use Microsoft Expression Blend 2. You can &lt;A class="" href="http://www.microsoft.com/expression/products/download.aspx?key=blend2preview" mce_href="http://www.microsoft.com/expression/products/download.aspx?key=blend2preview"&gt;download Blend&lt;/A&gt; and test it for free the first 60 days.&lt;/LI&gt;
&lt;LI&gt;The &lt;A class="" href="http://www.microsoft.com/silverlight/install.aspx" target=_blank mce_href="http://www.microsoft.com/silverlight/install.aspx"&gt;Silverlight Add-in&lt;/A&gt; for your web browser.&lt;/LI&gt;
&lt;LI&gt;A &lt;A class="" href="http://search.live.com/video/results.aspx?q=silverlight&amp;amp;mkt=en-us&amp;amp;scope=&amp;amp;FORM=LIVSOP" target=_blank mce_href="http://search.live.com/video/results.aspx?q=silverlight&amp;amp;mkt=en-us&amp;amp;scope=&amp;amp;FORM=LIVSOP"&gt;movie&lt;/A&gt; to use for this demo.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Let’s make the video player&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Start Microsoft Expression Blend 2 and create a new Silverlight 1.0 Application (JavaScript) and give it the name &lt;STRONG&gt;VideoPlayer&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Blend - Create New Project" alt="Blend - Create New Project" src="http://blogs.msdn.com/photos/cschotte/images/5406681/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406681/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;This will create a new Silverlight project and a canvas. We use this canvas to draw or movie and controls on. We need a movie for or video player to play, so we will add one to ore project. Use the dropdown menu of the project to add an existing item and browse for your movie. The movie I used is called &lt;STRONG&gt;demo.wmv&lt;/STRONG&gt;, we need this movie name later for&amp;nbsp;the stop and play controls.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Blend - Add Exisiting Item" alt="Blend - Add Exisiting Item" src="http://blogs.msdn.com/photos/cschotte/images/5406678/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406678/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Now that you added the movie to the project you can drag and drop the movie form the tree onto the canvas. The canvas is the white rectangle in the middle of Blend.&amp;nbsp; Probably the movie dimensions are too big or too small to fit on the canvas, we will fix this in the XAML of ore page. You can switch to the XAML code using the view tables on the right of the canvas.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Blend - XAML view" alt="Blend - XAML view" src="http://blogs.msdn.com/photos/cschotte/images/5406673/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406673/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;In the XAML code we remove, from the &lt;STRONG&gt;MediaElement&lt;/STRONG&gt;, the Canvas.Left and Canvas.Right properties so the movie will be in the left upper corner of the canvas. We also need to change is the width and height of ore movie to fit on the canvas. Change the size of the MediaElement to width 640 and height 480 or any size you like.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="XAML - MediaElement" alt="XAML - MediaElement" src="http://blogs.msdn.com/photos/cschotte/images/5406688/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406688/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Lets test the new video player, hit F5 on your keyboard or use the dropdown menu; &lt;U&gt;Project&lt;/U&gt; &amp;gt; &lt;U&gt;Test Solution&lt;/U&gt;. A new Internet Explorer window&amp;nbsp;will start, showing the new video player and the movie.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Blend - Project - Test Solution" alt="Blend - Project - Test Solution" src="http://blogs.msdn.com/photos/cschotte/images/5406670/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406670/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;But this is not a video player! We need controls to play or stop the movie. Quit Internet Explorer and go back to Blend. Switch&amp;nbsp;to Design mode using the tabs on the right.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Adding controls and functionality&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To make it simple we only add a Start and Stop control for our video player. To do this we need two &lt;STRONG&gt;TextBlock&lt;/STRONG&gt; controls. Add two TextBlock elements to the canvas and give the TextBlocks a nice place and a name, something&amp;nbsp;like &lt;STRONG&gt;StartButton&lt;/STRONG&gt; and &lt;STRONG&gt;StopButton&lt;/STRONG&gt;. We also change the movie settings, so it will not start auto playing. Add &lt;STRONG&gt;AutoPlay=”False”&lt;/STRONG&gt; to the MediaElement.&lt;/P&gt;
&lt;P&gt;Now that we have two controls and the movie is not auto playing any more, we need to add functionality to our controls. If the user clicks on&amp;nbsp;the controls noting will happen. We need to add the event &lt;STRONG&gt;MouseLeftButtonDown&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="XAML - TextBlock" alt="XAML - TextBlock" src="http://blogs.msdn.com/photos/cschotte/images/5406692/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406692/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;To handle the events we add to the file &lt;STRONG&gt;Page.xaml.js&lt;/STRONG&gt; the following code:&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Silverlight JavaScript - DoPlay" alt="Silverlight JavaScript - DoPlay" src="http://blogs.msdn.com/photos/cschotte/images/5406683/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/5406683/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Now we have a simple video player. Test your video player and add more functionality. Let me know what you have done.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5406655" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/XAML/default.aspx">XAML</category><category domain="http://blogs.msdn.com/cschotte/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>VS2008 Launch Conditions and Prerequisites</title><link>http://blogs.msdn.com/cschotte/archive/2007/08/15/vs2008-launch-conditions-and-prerequisites.aspx</link><pubDate>Wed, 15 Aug 2007 12:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4398312</guid><dc:creator>cschotte</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/4398312.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=4398312</wfw:commentRss><description>&lt;P&gt;If you are creating a Setup Project in Visual Studio 2008 (or VS2005) to deploy your &lt;EM&gt;amazing&lt;/EM&gt; new application, you need to set which version of the .NET Framework you are targeting. If your application is developed for .NET 2.0 you need to tell the Setup Project to check the target machine for the .NET 2.0 Framework. By default the Setup project will check for .NET 3.5 (in VS2008) even if your application is targeting .NET 2.0.&lt;/P&gt;
&lt;P&gt;First you need to set the Prerequisites the Setup Project will install to the target machine (if it is not installed already). This can be done by the Properties windows of the Setup Project.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="VS2008 Prerequisites" alt="VS2008 Prerequisites" src="http://blogs.msdn.com/photos/cschotte/images/4398052/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/4398052/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Now you need to tell the Setup Project which launch conditions you need for the .NET Framework.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="VS2008 Solution Explorer" alt="VS2008 Solution Explorer" src="http://blogs.msdn.com/photos/cschotte/images/4398057/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/4398057/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;This Setup Project will now check the target machine for the .NET 2.0 Framework instead of the .NET 3.5 Framework&lt;/P&gt;
&lt;P&gt;&lt;IMG title="VS2008 Launch Condition Properties" alt="VS2008 Launch Condition Properties" src="http://blogs.msdn.com/photos/cschotte/images/4398047/original.aspx" mce_src="http://blogs.msdn.com/photos/cschotte/images/4398047/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;You can learn more about launch condition at following &lt;A class="" title="launch conditions" href="http://msdn2.microsoft.com/en-us/library/xxyh2e6a(VS.80).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/xxyh2e6a(VS.80).aspx"&gt;link on MSDN&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4398312" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Visual+Studio/default.aspx">Visual Studio</category></item><item><title>Vista start menu power button</title><link>http://blogs.msdn.com/cschotte/archive/2007/08/08/vista-start-menu-power-button.aspx</link><pubDate>Wed, 08 Aug 2007 10:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4288780</guid><dc:creator>cschotte</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/4288780.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=4288780</wfw:commentRss><description>&lt;P&gt;Ever wondered how to change the behavior of the power button in your start menu in Windows Vista? Normally if you press the power button in your start menu the computer will go to sleep and not shutdown complete.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Vista start menu" style="WIDTH: 482px; HEIGHT: 140px" height=140 alt="Vista start menu" src="http://blogs.msdn.com/photos/cschotte/images/4288630/original.aspx" width=482 mce_src="http://blogs.msdn.com/photos/cschotte/images/4288630/original.aspx"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to change:&lt;BR&gt;&lt;STRONG&gt;Control Panel&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;System and Maintenance&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Change when the computer sleeps&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Change advanced power settings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Power options Vista" style="WIDTH: 437px; HEIGHT: 467px" height=467 alt="Power options Vista" src="http://blogs.msdn.com/photos/cschotte/images/4288746/original.aspx" width=437 mce_src="http://blogs.msdn.com/photos/cschotte/images/4288746/original.aspx"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here you can change the start menu power button to really shut down your computer.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4288780" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Vista/default.aspx">Vista</category></item><item><title>Turning the Pages</title><link>http://blogs.msdn.com/cschotte/archive/2007/08/07/turning-the-pages.aspx</link><pubDate>Tue, 07 Aug 2007 16:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4276845</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/4276845.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=4276845</wfw:commentRss><description>&lt;P&gt;&lt;A class="" title="The British Library" href="http://www.bl.uk/" target=_blank mce_href="http://www.bl.uk/"&gt;The British Library&lt;/A&gt; is using &lt;A class="" title=WPF href="http://windowsclient.net/Default.aspx" target=_blank mce_href="http://windowsclient.net/Default.aspx"&gt;WPF&lt;/A&gt; (Windows Presentation Foundation) for presenting 15 of their most precious books virtually in your web browser.&amp;nbsp; This preview version of &lt;A class="" href="http://www.bl.uk/ttp2/ttp1.html" target=_blank mce_href="http://www.bl.uk/ttp2/ttp1.html"&gt;Turning the Pages 2.0&lt;/A&gt; allows you to 'virtually' turn the pages of their most precious books. You can magnify details, read or listen to expert commentary on each page, and store or share your own notes.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="Turning the Pages" style="WIDTH: 349px; HEIGHT: 246px" height=246 alt="Turning the Pages" src="http://blogs.msdn.com/photos/cschotte/images/4276821/original.aspx" width=349 mce_src="http://blogs.msdn.com/photos/cschotte/images/4276821/original.aspx"&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4276845" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/WPF/default.aspx">WPF</category></item><item><title>Amazing 3D tour of the space shuttle Endeavour using Photosynth</title><link>http://blogs.msdn.com/cschotte/archive/2007/08/07/amazing-3d-tour-of-the-space-shuttle-endeavour-using-photosynth.aspx</link><pubDate>Tue, 07 Aug 2007 15:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4276667</guid><dc:creator>cschotte</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/4276667.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=4276667</wfw:commentRss><description>&lt;P&gt;&lt;A class="" href="http://labs.live.com/photosynth/" target=_blank mce_href="http://labs.live.com/photosynth/"&gt;Photosynth&lt;/A&gt; is a new technology from Microsoft labs to see and navigate in a 3D world of standard photos in your web browser. Space World is a joint project between NASA, Microsoft and MSNBC and it is using Photosynth to create amazing three-dimensional tours of the space shuttle Endeavour and NASA’s Kennedy Space Center facilities.&lt;/P&gt;
&lt;P&gt;Related: &lt;A class="" href="http://www.msnbc.msn.com/id/20098402/" target=_blank mce_href="http://www.msnbc.msn.com/id/20098402/"&gt;Take a 3-D Look at Endeavour&lt;/A&gt;&lt;BR&gt;Related: &lt;A class="" href="http://media.labs.live.com/photosynth/nasa/default.htm" target=_blank mce_href="http://media.labs.live.com/photosynth/nasa/default.htm"&gt;Microsoft Live Labs Photosynth&lt;/A&gt;&lt;BR&gt;Related: &lt;A class="" href="http://labs.live.com/photosynth/video.html" target=_blank mce_href="http://labs.live.com/photosynth/video.html"&gt;Video: The Making of Photosynth&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="What is Photosynth?" style="WIDTH: 456px; HEIGHT: 314px" height=314 alt="What is Photosynth?" src="http://blogs.msdn.com/photos/cschotte/images/4276687/original.aspx" width=456 mce_src="http://blogs.msdn.com/photos/cschotte/images/4276687/original.aspx"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In March of this year Microsoft Live Labs Architect, &lt;A class="" href="http://www.ted.com/index.php/speakers/view/id/117" target=_blank mce_href="http://www.ted.com/index.php/speakers/view/id/117"&gt;Blaise Aguera y Arcas&lt;/A&gt; spoke at the TED (Technology, Entertainment, Design) Conference in Monterey, CA. Blaise demonstrated Seadragon and Photosynth to an enthusiastic audience. &lt;A class="" href="http://labs.live.com/Photosynth+At+TED+Conference.aspx" target=_blank mce_href="http://labs.live.com/Photosynth+At+TED+Conference.aspx"&gt;More...&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4276667" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/cschotte/archive/tags/Photosynth/default.aspx">Photosynth</category></item><item><title>First post and welcome</title><link>http://blogs.msdn.com/cschotte/archive/2007/05/14/first-post-and-welcome.aspx</link><pubDate>Mon, 14 May 2007 11:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2620678</guid><dc:creator>cschotte</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/cschotte/comments/2620678.aspx</comments><wfw:commentRss>http://blogs.msdn.com/cschotte/commentrss.aspx?PostID=2620678</wfw:commentRss><description>&lt;IMG title=Clemens style="WIDTH: 100px; HEIGHT: 133px" height=133 alt=Clemens src="http://blogs.msdn.com/photos/cschotte/images/2620989/original.aspx" width=100 align=right mce_src="http://blogs.msdn.com/photos/cschotte/images/2620989/original.aspx"&gt;Welcome to my new blog site at MSDN, my name is Clemens Schotte and I’m consultant for Microsoft Services in the Netherlands. On this blog I will post software related articles about .NET and software development in general. Have a nice time reading my blog.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2620678" width="1" height="1"&gt;</description></item></channel></rss>