Whats the best way to play a MIDI or MP3 file in vb.net. Is there a control that is included that I just haven't found?
Oh there are a few components on the net, some even free, that will do this. If you want the real simple way, add Windows Media Player to your toolbox (Right-click Toolbox...add/remove items... click the COM tab, scroll to Windows Media Player. ) Then drag it on to your form. In code you can simply use VB Code: Me.AxMediaPlayer.Open("C:\somemp3.mp3")
Me.AxMediaPlayer.Open("C:\somemp3.mp3")
Forum Rules