<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Michael Creasy's blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mcreasy/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mcreasy/feed.xml</link>
    <description>Microsoft Windows Media Center, digital media and more...</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:00:55 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>This blog has moved!</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/this-blog-has-moved</link>
      <pubDate>Fri, 14 Oct 2005 11:04:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/10/14/this-blog-has-moved/</guid>
      <description><![CDATA[This blog has moved to https://www.michaelcreasy.com&nbsp;please update your bookmarks and...]]></description>
      <content:encoded><![CDATA[<font size="5">This blog has moved to <a href="https://www.michaelcreasy.com" mce_href="https://www.michaelcreasy.com">https://www.michaelcreasy.com</a>&nbsp;please update your bookmarks and subscriptions!</font>]]></content:encoded>
    </item>
    <item>
      <title>Many questions - MSAS, playing WAV files and what to develop Media Center apps with</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/many-questions-msas-playing-wav-files-and-what-to-develop-media-center-apps-with</link>
      <pubDate>Wed, 13 Jul 2005 19:28:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/07/13/many-questions-msas-playing-wav-files-and-what-to-develop-media-center-apps-with/</guid>
      <description><![CDATA[I've had lots of questions recently and no time to really get answers and post them up here.&nbsp;...]]></description>
      <content:encoded><![CDATA[<P>I've had lots of questions recently and no time to really get answers and post them up here.&nbsp; If I haven't answered you question it's because I don't know the answer and haven't had enough time to get to the bottom of it yet.</P>
<P>First of all I had a couple of questions on <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/mediastateaggregationservice.asp?frame=true">MSAS</A>&nbsp;which I don't know that much about.</P>
<P><STRONG>Can I tell which tuner is being used when a recording takes place using MSAS?</STRONG> No, you can not.&nbsp; What you can do, which may or may not help is use <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/tvrecordstatechangeargsclass.asp?frame=true">OnTVRecordStateChange</A>&nbsp;from a background add-in which will give you a GUID and you could track which was in use - this won't help if a tuner is being used for live TV though.&nbsp; Here's a code snippet on how to use OnTVRecordStateChange:</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>void IAddInEntryPoint.Launch(AddInHost host) <BR>{</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>host.Television.OnTVRecordStateChange += new Microsoft.MediaCenter.AddIn.TVRecordStateChangeDelegate(TvRecordStateChangedHandler);</P>
<P>...</P></BLOCKQUOTE>
<P dir=ltr>}</P>
<P dir=ltr>public void TvRecordStateChangedHandler(object obj, Microsoft.MediaCenter.AddIn.TVRecordStateChangeArgs TVArgs) { 
<BLOCKQUOTE>if (TVArgs.Started)
<BLOCKQUOTE>mcHost.HostControl.Dialog("Recording started on tuner " + TVArgs.Tuner, "TV Recording",1,10,false);</BLOCKQUOTE>else if (TVArgs.Stopped) 
<BLOCKQUOTE>mcHost.HostControl.Dialog("Recording stopped on tuner " + TVArgs.Tuner, "TV Recording",1,10,false);</BLOCKQUOTE></BLOCKQUOTE>
<P>}</P></BLOCKQUOTE>
<P dir=ltr><STRONG>Can I use remote desktop to connect to a Media Center PC?</STRONG> Yes.&nbsp; You can even use Media Center, but it won't play video over a RDP connection</P>
<P dir=ltr><STRONG>Can I use animated backgrounds in an HTML page?</STRONG>&nbsp;Not really a media center question, but I don't see why not, use an animated gif.</P>
<P dir=ltr><STRONG>Could I create an add-in that played a selection of WAV files with a gap between them?</STRONG> Yes, using <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/hostcontrolplaymediamethod.asp?frame=true">Playmedia</A> and <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/mediatransportplayrateproperty.asp?frame=true">Playrate</A> you could contstruct an addin to do this - waiting until the playrate was stopped, then wating however long you want before playing the next file.&nbsp; You could also use <A href="https://msdn.microsoft.com/library/default.asp?url=/library/en-us/MedctrSDK/htm/usingthemorewiththisfeature.asp">More With This</A> &nbsp;to make this work with any folder of audio files.</P>
<P dir=ltr><STRONG>Can I use ASP.NET for development?</STRONG>&nbsp; Yes.&nbsp; You can use any web technology that outputs HTML.</P>
<P dir=ltr><STRONG>Can I use WinForms for development?</STRONG>&nbsp; Yes, but if you're running as a .exe you won't have access to Media Center APIs.&nbsp; If you're running as a .NET applet in a webpage you'll have access to the Media Center APIs from the HTML page and will have to communicate between the page and the .NET applet to use the Media Center APIs - non-trivial to do, but not hard.</P>]]></content:encoded>
    </item>
    <item>
      <title>This week's questions (actually last week's): More on HTML and add-ins</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/this-weeks-questions-actually-last-weeks-more-on-html-and-add-ins</link>
      <pubDate>Fri, 24 Jun 2005 19:18:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/24/this-weeks-questions-actually-last-weeks-more-on-html-and-add-ins/</guid>
      <description><![CDATA[How are HTML apps and add-ins associated with each other? (Can HTML apps trigger add-ins to be...]]></description>
      <content:encoded><![CDATA[<P><STRONG>How are HTML apps and add-ins associated with each other? (Can HTML apps trigger add-ins to be launched?)</STRONG> HTML and add-ins can both be part of the same application, that is each is a different entrypoint of the application. The association takes place at registration time, when both would be registered as one application. An HTML page can start an add-in (on-demand only, not background) by using the <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/mediacenternavigatetopage.asp?frame=true">NavigateToPage</A> function with the guid for ExtensibilityEntryPoint as the first parameter. </P>
<P><STRONG>Is there a way for HTML apps and add-ins to exchange information (parameters) and trigger events? (Is it possible for an add-in to be registered as a listener to an event that is fired within an HTML application?)</STRONG> No, there’s no built in way for add-ins and HTML pages to communicate.&lt; Communication between a background add-in and an HTML page could be achieved with an ActiveX/.NET control on the HTML page and then .NET Remoting between the two components. </P>
<P></P>
<P><STRONG>How do I register a .exe file so it runs from More Programs?</STRONG> The same way you <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/registeringanaddinwithmediacenter.asp?frame=true">register an add-in</A>, except instead of using the “addin” property on the entrypoint tag, use “run” with the path to the .exe </P>]]></content:encoded>
    </item>
    <item>
      <title>Media Center PC's are getting cheap!</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/media-center-pcs-are-getting-cheap</link>
      <pubDate>Thu, 23 Jun 2005 22:45:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/23/media-center-pcs-are-getting-cheap/</guid>
      <description><![CDATA[Betanews reports that Gateway/eMachines will be offering a new Media Center PC for $599!&nbsp; The...]]></description>
      <content:encoded><![CDATA[<P><A href="https://www.betanews.com/article/Gateway_Debuts_599_Media_Center_PC/1119536435">Betanews</A> reports that Gateway/<A href="https://www.emachines.com">eMachines</A> will be offering a new Media Center PC for $599!&nbsp; The specs are pretty impressive for such a cheap computer:</P>
<UL>
<LI>AMD Athlon 64 3400+ 
<LI>1GB DDR SDRAM 
<LI>200GB hard drive 
<LI>ATI Radeon Xpress 200 
<LI>8 in 1 media reader 
<LI>Rewritable dual-layer DVD drive 
<LI>CD-ROM drive</LI></UL>
<P>Wow.&nbsp; No mention of a TV Tuner, monitor or&nbsp;remote though...&nbsp;</P>
<P>I've never bought an eMachines&nbsp;computer before, but that seems like a great deal for a pretty powerful system.</P>]]></content:encoded>
    </item>
    <item>
      <title>This weeks questions - always on top and registering add-ins and HTML together</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/this-weeks-questions-always-on-top-and-registering-add-ins-and-html-together</link>
      <pubDate>Fri, 10 Jun 2005 19:22:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/10/this-weeks-questions-always-on-top-and-registering-add-ins-and-html-together/</guid>
      <description><![CDATA[I've decided to take all the questions I get by email and answer them on Fridays in one post, so do...]]></description>
      <content:encoded><![CDATA[<P>I've decided to take all the questions I get by email and answer them on Fridays in one post, so do please continue to email me any questions you have.&nbsp; That said, here's this weeks questions:</P>
<P><STRONG>How can I keep the Media Center window on top so I can work on other things?</STRONG>&nbsp; In Media Center go to Settings\General\Startup and Window Behavior and select "Media Center window&nbsp;always on top".</P>
<P><STRONG>How can I associate an HTML application with an add-in?</STRONG>&nbsp; <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/registeringanaddinwithmediacenter.asp?frame=true">Register</A> both the add-in and the HTML page together.&nbsp; Instead of registering the HTML app and the add-in you need to register them both as a single application with multiple entrypoints - one entrypoint for the add-in and one for the HTML page.&nbsp; This will make them both part of the same application and so from a background&nbsp;add-in a call to <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/applicationinfoisforegroundapplicationproperty.asp?frame=true">ApplicationInfo.IsForeground</A> will return "true" when the HTML page is currently being displayed.</P>]]></content:encoded>
    </item>
    <item>
      <title>How to disable a Media Center add-in</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/how-to-disable-a-media-center-add-in</link>
      <pubDate>Thu, 09 Jun 2005 20:06:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/09/how-to-disable-a-media-center-add-in/</guid>
      <description><![CDATA[Jason over at Digital Media Thoughts&nbsp;sent me an email about his new article on The Powers and...]]></description>
      <content:encoded><![CDATA[<P>Jason over at <A href="https://www.digitalmediathoughts.com">Digital Media Thoughts</A>&nbsp;sent me an email about his new article on <A href="https://www.digitalmediathoughts.com/articles.php?action=expand,8145">The Powers and Perils of a Platform</A>.&nbsp; Jason talks about the trouble he had when a Media Center "plugin" went bad and couldn't be uninstalled.&nbsp; It's not clear if it was an HTML application or a managed code add-in, but based on the description I'm assuming it's the latter.&nbsp; He ran into problems when trying to manually uninstall the application so I thought I should post something on what to do when an add-in goes bad...</P>
<P>In Media Center 2005 add-ins can do pretty much what they want to do without restriction, if one starts to misbehave the best thing you can do is to disable it:</P>
<OL>
<OL>
<LI>Start Media Center</LI>
<LI>Click on Settings</LI>
<LI>Click on General</LI>
<LI>Click More Programs Options</LI>
<LI>Click Edit More Programs</LI>
<LI>Deslect the app to disable and click Save</LI></OL></OL>
<P dir=ltr>This will disable the app from starting and hide anything entrypoint it's registered throughout Media Center.&nbsp; It won't uninstall the app, but it will prevent it from running.</P>]]></content:encoded>
    </item>
    <item>
      <title>David Burnett on digital photography</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/david-burnett-on-digital-photography</link>
      <pubDate>Tue, 07 Jun 2005 23:27:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/07/david-burnett-on-digital-photography/</guid>
      <description><![CDATA[David Burnett&nbsp;talks to the New York Times on what cameras he uses and why he mainly shoots...]]></description>
      <content:encoded><![CDATA[<P><A href="https://www.nytimes.com/2005/06/08/technology/circuits/08schiesel.html?">David Burnett</A>&nbsp;talks to the New York Times on what cameras he uses and why he mainly shoots digital now - he's another <A href="https://consumer.usa.canon.com/ir/controller?act=ModelDetailAct&amp;fcategoryid=139&amp;modelid=10464">Canon 20D</A> user.&nbsp; The article is interesting, but the audio slideshow is much more interesting.&nbsp; He explains that he uses a number of different cameras depending on the type of photo he's going for and on the slideshow there's a few examples.</P>
<P>I love my 20D, but it's not a camera that I can use all the time, it's just too big, so I also have a <A href="https://consumer.usa.canon.com/ir/controller?act=ModelDetailAct&amp;fcategoryid=145&amp;modelid=11157">Canon SD500</A>&nbsp;which I've mentioned <a href="https://blogs.msdn.com/mcreasy/archive/2005/03/29/403359.aspx">before</A>.&nbsp; I'll get different types of photos from each camera; I can't do the same things with the SD500 that I can do with the 20D, but I can take it places a 20D just isn't appropriate.&nbsp; It's hard to be inconspicuous with a large SLR camera and buy the time I've tweaked the settings the moment is lost.&nbsp; The SD500 I use for more spontaneous photos, I don't mess with the settings, just accept the defaults and let the camera deal with the situation and most of the time it does a great job, probably better than I could have done manually.&nbsp; Take <A href="https://www.michaelcreasy.com/photos/?obj=Around%20The%20World%20in%2024%20Days/Around%20The%20World%20in%2024%20Days%202%20066%20crop.jpg">this</A> as an example - that was shot at dawn directly into the rising sun with the SD500 and captured the scene exactly as I wanted it.&nbsp; The 20D on the otherhand lets me get photos like <A href="https://www.michaelcreasy.com/photos/?obj=Around%20The%20World%20in%2024%20Days/Around%20The%20World%20in%2024%20Days%20409%20crop.jpg">this</A>, which the SD500 wasn't able to manage (subjects lit entirely by candle light on a moving boat).&nbsp; The SD500 also shoots video, a feature I never thought I'd use as I've always prefered still shots, but I found a few instances when video captured a scene much better than a still image could.&nbsp; The 20D as you'd expect from an SLR doesn't capture video.&nbsp; Different tools for different jobs.</P>
<P>The New York Times also has some tips on <A href="https://www.nytimes.com/2005/06/08/technology/circuits/08pogue.html">digital photography</A>, nothing really new to me there, but it might be off interested to any just getting into digital.</P>]]></content:encoded>
    </item>
    <item>
      <title>Questions answered</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/questions-answered</link>
      <pubDate>Fri, 03 Jun 2005 19:56:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/03/questions-answered/</guid>
      <description><![CDATA[I've had a couple of questions by email that I should answer (note I've paraphrased some of...]]></description>
      <content:encoded><![CDATA[<P>I've had a couple of questions by email that I should answer (note I've paraphrased some of these):</P>
<P><STRONG>What fonts should I use for my HTML Media Center application and can I use Flash?</STRONG>&nbsp; The SDK is where to go for <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/userinterfaceguidelinesforhtmlapplications.asp?frame=true">design guidelines</A> for HTML applications (the short answer is to use a sans serif font).&nbsp; Yes, Flash can be used in HTML Media Center applications - Napster and MSN Music both use Flash.</P>
<P><STRONG>How can I add an application to the Start Menu?</STRONG>&nbsp; You can't.&nbsp; Well OK, you can, but we recommend that only OEMs use this functionality as there is a limit to how many applications can appear on the start menu and adding a new app will stomp on existing applications.&nbsp; If you intend to distribute your application you shouldn't do this, but if you really want to know, the details are in the SDK <A href="https://msdn.microsoft.com/library/en-us/MedctrSDK/htm/mediacentercustomizationoptionsforoems.asp?frame=true">here</A>.</P>
<P><STRONG>I've seen the Media Center software for sale online is it OK to buy it?</STRONG>&nbsp; I'm no lawyer so I'm not going to comment on this.&nbsp; Media Center is an OEM product and only available with new PCs is the official answer though.</P>]]></content:encoded>
    </item>
    <item>
      <title>Yes, I'm still alive.</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/yes-im-still-alive</link>
      <pubDate>Fri, 03 Jun 2005 19:32:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/06/03/yes-im-still-alive/</guid>
      <description><![CDATA[Sorry I haven't had much (anything) to say for a while.&nbsp; I've been terribly busy on a number of...]]></description>
      <content:encoded><![CDATA[<P>Sorry I haven't had much (anything) to say for a while.&nbsp; I've been terribly busy on a number of things that it won't take a genius to guess about.</P>
<P>So what's been going on?&nbsp; Well, I'm very excited about the <A href="https://www.xbox360.com">XBox 360</A> and it's built in <A href="https://www.microsoft.com/windowsxp/mediacenter/evaluation/devices/default.mspx">Media Center Extender</A>.&nbsp; There will definitely be one of those next to my TV later this year.&nbsp; With the XBox 360 there I might just move the Media Center PC away from the TV and hide it out of the way somewhere.&nbsp; That will simplify the connections around the TV and reduce my ambient nosie level a bit.&nbsp; Although I only actually notice that PC when it's on and I'm not watching TV which isn't that often as it's normally asleep.&nbsp; Ideally I'd like to place an XBox 360 in bedroom along with a nice big thin flat display but a bunch of money is going to have to appear from somewhere for that to happen, I've already blown most of my disposable income on a new PC and display (I got one of the new <A href="https://accessories.us.dell.com/sna/productdetail.aspx?c=us&amp;l=en&amp;s=dhs&amp;cs=19&amp;sku=320-4221&amp;link_number=">Dell 24" displays</A>&nbsp;and it's a beautiful thing) and that's ignoring my expensive hobbies of photography and world travel.</P>
<P>I spent almost a month away from work travelling the world which was great fun.&nbsp; I first went to Amsterdam for a day where I got to spend the day with my Mum (with me living in Seattle and her in England we don't see eachother that often).&nbsp; Then I flew to Delhi where I joined <A href="https://www.intrepidtravel.com">Intrepid Travel</A>'s Delhi to Kathmandu trip.&nbsp; I've traveled with Intrepid before and I continue to recommend them to anyway looking for a trip that's a bit different.&nbsp; I like that when I travel with them there's a set itinerary but there's plenty of time to do what I want to.&nbsp; I could talk about my travel philosophy for hours so I won't get started here, but it's something I'm very passionate about.&nbsp; This trip was really great.&nbsp; I got to see the Taj Mahal for a start and to really experience India.&nbsp; It wasn't without it's low points though, I did at one point end up in a hospital in Nepal suffering from food poisoning and dehydration.&nbsp; That wasn't a lot of fun and wasn't made any better by being in a bus crash the next day.&nbsp; Thankfully nobody was injured and it didn't really cause us any problems.&nbsp; That's what makes travelling fun though.&nbsp; The experiences and the unexpected.&nbsp; The trip came to and end in Kathmandu and I stayed on in the city for a few days before flying to Bangkok and Taipei alone.&nbsp; I could write pages (and perhaps I will one day) on the whole trip, but for now I'll leave you with the <A href="https://www.michaelcreasy.com/photos/?obj=/Around%20The%20World%20in%2024%20Days">photos</A>.</P>
<P>Just after getting back from that trip I flew to Chicago for the weekend.&nbsp; Chicago is too close for an overnight flight to be good.&nbsp; I don't function that well on three hours of sleep.&nbsp; I did have a great time in the city though, it was the first time I'd gone there and left the airport.&nbsp; My dad flew in from England for the weekend as well and showed me around as he's been there before.&nbsp; I went to the U2 concert while I was there which was incredible.&nbsp; They put on an awesome show.&nbsp; My dad didn't come to the show with me so I made it up to him by taking him to see a Cubs game at Wrigley field.&nbsp; He knew we were going but thought we had terrible seats, that was something I'd lead him to believe as in reality our seats were in the third row behind home plate and I wanted to surprise him - there a stitch of the view from our seats <A href="https://www.michaelcreasy.com/photos/default.aspx?obj=Chicago/Wrigley%20Field.jpg">here</A>.</P>
<P>OK, back to work...</P>]]></content:encoded>
    </item>
    <item>
      <title>Back at work</title>
      <link>https://docs.microsoft.com/archive/blogs/mcreasy/back-at-work</link>
      <pubDate>Tue, 03 May 2005 15:43:00 GMT</pubDate>
      <dc:creator><![CDATA[mcreasy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mcreasy/2005/05/03/back-at-work/</guid>
      <description><![CDATA[No, I haven't forgotten about this blog.&nbsp; I've just got back from a long and exhausting holiday...]]></description>
      <content:encoded><![CDATA[No, I haven't forgotten about this blog.&nbsp; I've just got back from a long and exhausting holiday and now I'm back at work and catching up on what I've missed.&nbsp; I'll have some photos to share and a few stories to tell once I know what day of the week it is - jet lag is really getting to me.]]></content:encoded>
    </item>
  </channel>
</rss>