January 2005 - Posts

Media Center Presentation at NWNUG

Last night I presented Windows Media Center Edition 2005 at the Northwest Ohio .NET User Group.   I demo'd many of the features of MCE- including Live TV, Recorded TV, Music, Pictures, and More Programs (including the MCE version of Solitaire!).  There seemed to be quite a bit of interest in the product- I think I got the most questions I've ever had for a presentation! We talked about building an MCE PC for $400 or less.  Many of the attendees were already working on ways to justify an MCE purchase to their wives by the end of the meeting so I took that as a good sign (where's my commission, Microsoft? <grin>) .

Truly, MCE is a great product.  There are many features and once you see it in action, it's hard to resist.

In case you happened to miss the presentation, I will be presenting it again in Findlay on March 30.  I will be going into a little more depth on developing add-ins as well. (Time pending of course!)

I have also posted the presentation that I gave here. Be sure to check it out. The source code for the add-in demo isn't quite in a polished format, so if you want that please email me privately.

 

 

 

Tips for HTML Add Ins in XP Media Center Edition 2005

HTML Add-ins for Media Center are really quite easy to develop once you get the hang of it.  I would like to post a few helpful tips for getting up and running quickly.

First, some information on developing HTML Add-ins-

1. The user interface options are limited only to what you can do in IE!

2. In an HTML add-in, you have full access to the Media Center API's through the browser.  Just about anything you can do with a web application can be done in Media Center!     This includes calling web services (directly from the browser) using the DHTML webservice behavior.

3. You can easily code event sinks for the remote control by simply using an OBJECT tag in IE.  (See “Search.htm“ example in the SDK, and MSDN for object model information)

Some tips and tricks for getting started with HTML applications:

1. Be sure to download the Media Center 2005 SDK.

2. A good reference about registering add-ins with MCE can be found on MSDN.

3. Be sure to visit Micheal Creasy's (MSFT) blog.

You may want to tweak the CSS that comes with the SDK to get a true Media Center look and feel. For whatever reason, MSFT decided to provide a non-standard looking CSS for the SDK.  It consists of grey, black, and orange. :) 

1. Hence, you may want to get the CSS Color scheme from MCE 2004 . Keep in mind that there are some behavior tags embedded in the SDK CSS that you will probably want to keep, so you will need to duplicate those.

2. I will try to provide an updated CSS with the appropriate behavior tags so you may simply replace the one in the SDK in the near future.

Creating your Add-in

1. Use your favorite HTML editor. Copy all the javascript, htc, and CSS files from the SDK into your local directory.

2. Create your application... If you want to call web services from the browser, check out the MSDN web service behavior

3. Create an XML file that Media Center registration tool can read. You will need to do this in order to register your application in Media Center.  There are two steps:

3a.  Generate a guid using the guidgen tool. (Go to “Visual Studio Comnand Prompt“ and you can type in guidgen at the command line.) You will need this guid because when media center installs your application it needs to put it in the registry. 

3b. Create your xml file as such- this will add the application in the “More Programs“ category:

<application
    title = "Browse Movies"
    id="{CCA64374-182E-43d8-9F7A-6DBBC4AEA4F0}"
    CompanyName="Bestcoding.com">

 
<entrypoint  id="{CCA64374-182E-43d8-9F7A-6DBBC4AEA4F1}"
                      url=".\BrowseMovies.html"
                      title="Browse Movies"
                      description="Browse Movies"
                      ImageUrl=".\Photo1.gif\">"
                      <category category="More Programs"/>
</entrypoint>
</application>


4. Load up media center and your application should be registered!

 

Posted by greghuber | 5 comment(s)
Filed under:

Setting up DotNetNuke Portal for User Group Site

Members of the Northwest Ohio .NET User Group are currently redoing our site in Dot Net Nuke.  Patrick Santry came and presented at our group last year, and we got a good overview of DNN and decided we wanted to implement it for our user group. (By the way, Patrick will be back again this year ...)

I am really impressed with the level of quality and robustness in DNN so far.  We are currently running the user group site on the original IBuySpy portal, and it is great to see where DNN has taken it.  

There seems to be some great community behind DNN and I definitely would recommend it for anyone building a portal- especially a .NET user group :)  DotNetNuke 3.0.8 is the latest beta version and can be downloaded here.

If you're not absolutely crazy about VB.NET, there are other alternatives out there (such as Rainbow).  I use primarily C# for most of my development, but I like VB.NET just fine.  Also- not real sure how the capabilities compare between the two.  One of the big differences is that Rainbow seems to have more of an “international“ feel to it. 

Posted by greghuber | 3 comment(s)
Filed under:

Getting ready for a presentation on MCE 2005

I will be presenting Windows XP Media Center Edition 2005 in less than a week at the Northwest Ohio .NET User Group and again in a few months at the Findlay Area .NET User Group.   Getting ready for this presentation has been a lot of fun, but also a lot of work. Overall I am very pleased with MCE 2005.  Here are a few observations- consider it a “sneak preview“ for the presentation.

Some of my favorite things about MCE 2005-

First, a little background. I originally wanted to buy a TIVO.  I was appalled by the fact that they charged a monthly fee (or, you could pay a bunch more and get a “lifetime“ service).  I wanted to find an economic way to be able to record TV.  A VCR was way too 80's, so my quest began.  I did some research on MythTV, the linux open source way.  I was originally thinking I'd try this, but it looked like it would be more time consuming than it was worth. There were many issues with different hardware drivers that I didn't want to have to wrestle with. Not only that, but I felt the MythTV approach wouldn't work the greatest with my satellite dish, as I'd have to figure out my own way of doing the IR blasting and what not.

Anyway, I ended up going the MCE 2005 route. I was really glad I did- after getting a tv-tuner card and throwing a few new components in an existing system, I was up and running in an evening!  The set up went really quickly and it worked with my “older stuff“. System specs:

Athlon XP 2200
GeForce4 440Mx card
256 mb ram
DVD-RW drive
Emuzed Maui TV tuner with MPEG 2 encoder
30 GB Hard Drive
OEM Remote

The total cost to set up a system like this would be a little over $300.  If you don't have MSDN Universal (every developer SHOULD have a copy!) you can purchase it with the remote for about $130.  In other words, to build a complete MCE 2005 system, you can do it for $400.  I believe either way this is cheaper than going with a TIVO. MythTV is potentially cheaper up-front as there is no OS cost (just the time to figure it out, find your drivers, etc).

Initial Impressions:

1. It works very well.  The main reason I got it was for watching and recording TV .Note: you must have a DVD decoder that works.  My motherboard came with one, so I was all set.  Most DVD drives will come with one.  The TV guide is great- it downloads a weeks worth of TV at a time for all my channels. I use DISH Network, and there are a lot of channels to wade through (minor complaint- it gives me ALL possible channels, even though my package only has 120). 

There are a lot of “smart“ options for how long it keeps tv programs, based on space, frequency of recording, etc. It can record “series“ of TV shows, so you don't have to worry about queuing up every last thing. It also can record shows while it is in the hibernate mode.  Furthermore, I can do a bunch of stuff while I am recording TV with NO noticable slow down.  There is also support for more than one tuner, though I haven't tried it.

As far as non-TV stuff goes, there are also plenty of features that I like:

1. A great slideshow for JPG's/GIF's.I can watch my digital camera pics simply by clicking on the folder they are stored in. For added effects, I can queue up some MP3's and listen to them while watching.

2. The remote control is great. There is a button for “live tv“ and “recorded tv“ which makes it really simple to get in and do what you want.  Also, watching recorded TV is great- you can skip through the commercials by (on average) hitting the “skip“ button about 4 times.

3. Ability to watch recorded videos from other sources (such as an AVI from a digital video camera)

There are several (minor) issues that I am still working through as well.  The biggest is that MCE 2005 doesn't include support for .NET version 1.1 which means you have to compile everything in v 1.0 .    So far the official word from MS is that they are aware it's an issue, and no word when it will change. I'm hoping they will add support soon :) but in the mean time, v1.0 will be the way add-ins are developed.

 

 

First Post!

I'm excited to be blogging on MSMVPS now!   I have a blog on a few other sites, but this will be my new blog home for community/technology blogging. Please update your RSS feeds if you subscribe!

A little background:

Career:  I am currently a Lead Developer at a market research company called TNS-NFO.   I lead a lot of .NET development projects ranging on a variety of platforms- ASP.NET, Winforms, .NET Services using MSMQ, SQL Server, XML, and Oracle back ends.  We use C# and VB.NET.  I have been in software development on the Microsoft platform for about 7 years.  

MVP:  I was first awarded an MVP in January of 2004 in the area of Visual Developer - .NET .  I later switched to ASP.NET since that is one of my strengths and I wanted to be more focused.   I work in just about every area of .NET and will probably blog on a variety of topics.

Community:  I am the leader of the Northwest Ohio .NET User Group. We are a charter member of INETA, the international .NET user group association. I started this group and have been leading it for about 3 1/2 years. We have about 120 members, and anywhere from 10-30 people at our meetings.   I am also a INETA liaison for PA, MI, and OH.  If you are in one of these states and would like to know how to start a user group, please contact me.

Geeky stuff: I have been a geek pretty much all my life.  I started running a BBS when I was 13 years old (Goober BBS).  I have always been fascinated by the idea of networking computers together- which is why I first got into computers. When I was about 6 years old, my dad used to dial in to a main frame through an Atari 800 with a 110 baud modem.    Anyway, computing is not only a hobby, but takes up a good portion of my spare time. 

Misc:  I have a wife (of 5 1/2 years) and daughter (1 1/2 years old). We are both pretty active with our church, Victory Baptist.   If you're ever in Southest MI or Northwest OH look me up!

That's about it for now.. stay tuned!!

Posted by greghuber | 4 comment(s)