Search code examples
c#media-playerwindows-media-player

how to set Windows media player 'express settings' programmatically?


Can anybody help me how to set the windows media player express settings programmatically? I have added reference for WMPLib and created a media player object and trying to play a file like wmp.OpenPlayer("c:\xxx.mp3");

Here the media player launches but on a Clean Windows XP SP3 machine, the media player asking to configure before playing the file. How to configure this programmatically or is there any way to skip this part and play the file?


Solution

  • It seems like it is possibe according to link. I haven't tested it though, so I'm not 100% sure if it works. You need to change some values in the registry. This page describes how to write to the registry. Hope this helps!