| View previous topic :: View next topic |
| Author |
Message |
noko_112 Grandmaster Cheater
Reputation: 0
Joined: 09 Jun 2009 Posts: 585
|
Posted: Tue Dec 15, 2009 1:45 am Post subject: [visual basic] Playing mp3/wav as a resource |
|
|
Ok, im preatty new to visual basic so i will try my best to explain my problem.
I am trying to add a backround song to a program im making, but i cant find any good guides on adding audio (Bitmap and such is easy).
(Sorry if it is a littel short explained, but im late to school)[/list]
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Sun Dec 20, 2009 9:15 pm Post subject: |
|
|
and is this visual basic 6?
given today's computer specs, it won't hurt to extract a binary file from your resource file, save it somewhere, then play it using a wmp control or the plain old sndPlaySound API.
remember to check if the file already exists, and if it does, you won't need to extract it again when it loops!
|
|
| Back to top |
|
 |
|