Results 1 to 2 of 2

Thread: Playing MIDI's/Mp3s in vb.net application

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    56

    Playing MIDI's/Mp3s in vb.net application

    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?

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    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:
    1. Me.AxMediaPlayer.Open("C:\somemp3.mp3")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width