Launching a Windows Media Center Application from a URL
Collapse the table of content
Expand the table of content

Launching a Windows Media Center Application from a URL

You can start a Windows Media Center application from a URL using the windowsmediacenterweb protocol, provided the user is running a version of Windows 7 with Windows Media Center. This protocol is not recognized by all e-mail applications and web browsers, so URLs within an e-mail may not always work as expected. One solution is to provide a link to a web page that contains the URL, and if possible, detect whether the user is running Windows 7 with Windows Media Center and redirecting if needed. When the user selects the URL, Windows Media Center starts and then launches the Windows Media Center application. Windows Media Center Setup is displayed first if the user has never opened Windows Media Center before.

The following example URL points to a web application:

windowsmediacenterweb://mceondemand.microsoft.com/mcml/launch.mcml

The following example URL points to an ASPX page that contains MCML and takes one parameter:

windowsmediacenterweb://mywebserver/samplepage.aspx?myparam=abc

See Also

Show:
© 2016 Microsoft