-
Sep 19th, 2009, 12:26 PM
#1
Thread Starter
New Member
vb6 background music Need help
any know how i add background music to my project form
-
Sep 19th, 2009, 12:43 PM
#2
Re: vb6 background music Need help
Try using Microsoft Multimedia Control - go to Components and add it to your project.
It's pretty simple to use - come back if you need haelp with coding.
-
Sep 19th, 2009, 07:41 PM
#3
PowerPoster
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 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |
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...
-
Sep 19th, 2009, 08:39 PM
#4
Re: vb6 background music Need help
Originally Posted by ThEiMp
When using the Microsoft Multimedia Control, you need a textbox, a command button ...
Why do you need any of those?
-
Sep 19th, 2009, 08:47 PM
#5
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.
-
Sep 20th, 2009, 01:03 AM
#6
PowerPoster
Re: vb6 background music Need help
Originally Posted by RhinoBull
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 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Event's Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Bar | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University |
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...
-
Sep 20th, 2009, 11:11 AM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|