|
-
Oct 28th, 2006, 12:32 PM
#1
Thread Starter
New Member
Add music to your vb app
Ok i want to add background music to my app whst the easiest way to do that ? like the smallest code iv tried loads of thing but they didnt work then locohacker.net told me to come here so i came here so if anyone knows how please post thanks
-
Oct 28th, 2006, 01:54 PM
#2
Re: Add music to your vb app
You could create a media player object and then load a song into that.
-
Oct 28th, 2006, 03:16 PM
#3
Re: Add music to your vb app
It depends on the type of music you are wanting. If its a wav file, you can simply do it with:
VB Code:
My.Computer.Audio.Play("c:\somesong.wav")
That way you don't have the extra overhead of the media player control running in memory.
If you are wanting to play MP3's or multiple sounds, then check out my signature for "Sounds With Managed DirectX", which shows how you can do that.
-
Oct 28th, 2006, 09:08 PM
#4
Thread Starter
New Member
Re: Add music to your vb app
ok thank you man appricate it im just workin on some project and its giving me trouble
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
|