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

    Question


  • 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

Answers

  •  

    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.

    http://www.vbgamer.com/tutorial.asp?ndx=45
    Tutorial for playing midi and mp3 files in dx with vb.net

    Monday, April 24, 2006 1:55 AM