How to play music files in a vb.net application?


  • Hi,

    How to we play music files (e.g .wma or .mp3 etc) in a vb.net application when the application is running?

    And how to let a few songs play one after the other? i.e when the first song finishes, the second one starts after a short pause.
    Monday, April 24, 2006 1:40 AM



    You can always use the audio video playback classes in the Managed DirectX System, with these classes you have events that will fire as the audio is finishing.

    Below is a link for VB.Net, I am in the process of updating it to run under the New SDK.

    Tutorial for playing midi and mp3 files in dx with vb.net

    Monday, April 24, 2006 1:55 AM