For the past few months, I’m busy with one of the pet project from Microsoft Malaysia – WPF Reactor.
During the product testing, the team found out that Video failed to play in certain Windows XP machine. After the sleepless night, we found out that Windows Media Player 10 is one of the requirements for <Mediaelement>. The challenge arise when we need to detect what is the version of Windows Media Player that installed in the client’s machine.
Registry! Yup, that is the simple answer which we all know that majority of the application settings and attributes store inside registry. The answer is the WMP version registry store at
Value: 11,0,6001,7000 (for my Vista machine)
For VB programmer (just like me), you can use the My.Computer.Registry object to quickly access the value you want.