Results 1 to 10 of 10

Thread: Ways to Play Mp3s

  1. #1

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Thumbs down Ways to Play Mp3s

    Just found out the hardway that there is no longer support for Direcshow for VB.net and C#. Does anyone know other ways of playing mp3s in VB.net, or even video for that matter? Thanks in advance.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Ways to Play Mp3s

    WMP or some third-party media component or else the Windows API via mciSendString.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Ways to Play Mp3s

    Just like in vb6.....hmmmm

  4. #4
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Ways to Play Mp3s

    Unfortunately.
    Have a look here if it helps.
    http://www.vbforums.com/showthread.php?t=638996
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Ways to Play Mp3s

    I've never used it but there is XNA. I believe that it's basically a wrapper around DirectX, although there may be more to the story than that. That said, I'm not sure it's of use if you want to integrate music into a business app. I think that you have to create an XNA application rather than being able to reference some XNA library or libraries in a WinForms app or the like. It may be worth a bit of a search though.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Ways to Play Mp3s

    Thanks for your help guys.

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Ways to Play Mp3s

    I just did a quick search and found some examples of using XNA in WinForms. The couple I looked at focused on graphics but I'd imagine that sound would be handled similarly.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Ways to Play Mp3s

    No XNA is strictly graphics and maybe sound, just like DirectX. Never used XNA for sound before anyways. But I highly doubt Mp3s are the sounds you can play. Just wavs.

  9. #9
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: Ways to Play Mp3s

    Quote Originally Posted by Jacob Roman View Post
    No XNA is strictly graphics and maybe sound.
    I'm afraid this is not true. XNA handles sound, cam, etc too. However sound and sound effects is done via WAV.

    You are right with MP3. You have to use the WMP.

  10. #10

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Ways to Play Mp3s

    Quote Originally Posted by namrekka View Post
    I'm afraid this is not true. XNA handles sound, cam, etc too. However sound and sound effects is done via WAV.
    I Just said that

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