End Google Ads 201810 - BS.net 01 --> Hi,

I'm writing an application where I want to play a MP3 based URL with Windows Media Player. I have searched long and hard and I can't find a good example of what I want to do. I have come up with this code, but nothing happens. I must be missing something, any ideas, examples or thoughts are greatly appreciated.

WMPLib.WindowsMediaPlayerClass w = new WMPLib.WindowsMediaPlayerClass();
AxWMPLib.AxWindowsMediaPlayer Player = new AxWMPLib.AxWindowsMediaPlayer();
w.URL = "http://myurl.com";
w.enabled = true;
w.play( );


Thank you,

Glenn

modified on Friday, May 22, 2009 10:48 AM