vb6 background music Need help-VBForums
Results 1 to 7 of 7

Thread: vb6 background music Need help

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2009
    Posts
    11

    vb6 background music Need help

    any know how i add background music to my project form

  2. #2

  3. #3
    PowerPoster
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,226

    Re: vb6 background music Need help

    When using the Microsoft Multimedia Control, you need a textbox, a command button and the Multimedia control on the Form, in which you need to have play the music or background sounds. Make the music control, textbox and the command button all Visible = False.

    Code:
    mmcAudio.Command = "Play"
    mmcAudio.Command = "Stop"
    mmcAudio.Command = "Pause"
    I have a huge free products range, of computer software in which you can download using any kind of 32-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
    Main Page: Click Here | Blog Page: Click Here | Products Page: Click Here | News Page: Click Here | Horoscopes Page: Click Here | My Games Section: Click Here | CodeBank Page: Coming Really Soon...

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  4. #4

  5. #5
    Just a Member! seenu_1st's Avatar
    Join Date
    Aug 2007
    Location
    India
    Posts
    2,158

    Re: vb6 background music Need help

    what type of music file u want to play? if u want to play it from specific location then u can use media player control, if u want to compile with ur project then add ur music as resource file.
    Seenu

    If this post is useful, pls don't forget to Rate this post.
    Pls mark thread as resolved once ur problem solved.
    ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms


  6. #6
    PowerPoster
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,226

    Re: vb6 background music Need help

    Quote Originally Posted by RhinoBull View Post
    Why do you need any of those?
    The textbox for the filename and the folder path as well. The command button for the play, stop, pause etc. This is the way that I did it. But then went onto resource files and then used other commands to do so.
    I have a huge free products range, of computer software in which you can download using any kind of 32-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
    Main Page: Click Here | Blog Page: Click Here | Products Page: Click Here | News Page: Click Here | Horoscopes Page: Click Here | My Games Section: Click Here | CodeBank Page: Coming Really Soon...

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  7. #7
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,135

    Re: vb6 background music Need help

    If audio file is distributed to application folder then you just provide the app.path.
    Resource would be fine when you don't want anyone to access your media directly so they all embeded into exe.
    The button isn't necessary as well - only when you need user to control when audio needs to be played and when not without showing MMC control..

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.