Click to See Complete Forum and Search --> : Wav & Mp3 to Resource file - How?
Ruskin
Jan 13th, 2002, 12:20 AM
How do I
Wav and Mp3 to resource file and back?
CornedBee
Jan 13th, 2002, 06:36 AM
what kind of resource file?
Ruskin
Jan 13th, 2002, 01:53 PM
Shows how little I know...
I put all of my bmp's into a resource file so I
thought it would be good to put my sounds into one.
Is this not a good way?
Zaei
Jan 13th, 2002, 03:15 PM
No, because there are functions to get bitmaps from resources, while for sounds, it would be a custom binary resource, and you would have to know how to extract all of that data from the resource, stick it on disk, then load it, or know how to play the sound from memory.
You should usually load all of your data from disk, because resources increase executable size (its sticking your iamge data at the end of the executable's code), and making it more difficult for you to edit the data.
Z.
Ruskin
Jan 13th, 2002, 04:42 PM
Thanks alot
guess that clears that up...
makes it easier too. :D
I have all the sounds in with "Direct Sound"
VB Rules.......
CornedBee
Jan 15th, 2002, 09:34 AM
Ok, I meant if you mean the resources that are directly put into the exe. I didn't know this is possible in VB
Keger
Jan 15th, 2002, 12:25 PM
I just added the wav files to the cab file so they
get extracted into the base directory when the
program installes.
Trav
May 9th, 2002, 06:29 AM
how do i add sound fiel to a cab directory
and then how to i make an install program for Vb or egt one
Ruskin
May 9th, 2002, 08:48 PM
Use the "package and deployment wizard" ...
Thats the only way I know how to do it.
Trav
May 9th, 2002, 11:44 PM
where do i find a package and deployment wizard
McCain
May 10th, 2002, 12:23 AM
In your start menu.
Microsoft Visual Studio 6.0 -> Microsoft Visual Studio 6.0 Tools -> Package & Deployment Wizard
Or something like that, it depends on you configuration I guess... You should be able to find it
Trav
May 10th, 2002, 02:46 AM
can u please explain how to do it becouse i ahve no idea
ChiefRB
May 10th, 2002, 04:08 AM
Trav - Click on Add-Ins-->Add-In Manager. Then select the Package And Deployment Wizard from the list, click OK, and once more click on Add-Ins-->Package&Deployment Wizard.
The wizard will guide you through everything else.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.