Results 1 to 5 of 5

Thread: Playing .mp3 files (excuse the ignornace)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    2

    Playing .mp3 files (excuse the ignornace)

    Ok, i'd like to have an .mp3 start playing in the beginning form, and play throughout the entire program. However, due to my horrible lack of knowledge in VB, I don't know how. I tried downloading "Directshow," but it doesn't seem to work in my project. Any help would be appreciated, and sorry for the stupid question.

  2. #2
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: Playing .mp3 files (excuse the ignornace)

    If you want something to play on any form no matter which one is open, you might need a "hidden" form with the audio controls on it. And I believe it's "directsound" you need not directshow :-)
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    2

    Re: Playing .mp3 files (excuse the ignornace)

    Argh, how this stuff could get any more complicated, I don't know. I've gone through countless other topics about playing music, but it leaves out so much basic stuff it's not funny. Listen, all I want to know is what I have to download, and what code I have to put in to play a .wav file. Nothing more, nothing less.

  4. #4
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: Playing .mp3 files (excuse the ignornace)

    If things were easy, everyone would be programming :-)

    One way you could try is to SEARCH THE FORUM like you're told to in the "read before posting" post...I found http://www.vbforums.com/showthread.php?t=357381 easy enough
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  5. #5
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: Playing .mp3 files (excuse the ignornace)

    Argh, how this stuff could get any more complicated, I don't know

    You need the MCI control. Take a look at the attached... ( complicated )
    Attached Files Attached Files
    Last edited by schoolbusdriver; Mar 11th, 2007 at 03:31 AM.

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