|
-
Jan 13th, 2002, 01:20 AM
#1
Thread Starter
Junior Member
Wav & Mp3 to Resource file - How?
How do I
Wav and Mp3 to resource file and back?
-
Jan 13th, 2002, 07:36 AM
#2
what kind of resource file?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 13th, 2002, 02:53 PM
#3
Thread Starter
Junior Member
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?
-
Jan 13th, 2002, 04:15 PM
#4
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.
-
Jan 13th, 2002, 05:42 PM
#5
Thread Starter
Junior Member
Thanks alot
guess that clears that up...
makes it easier too.
I have all the sounds in with "Direct Sound"
VB Rules.......
-
Jan 15th, 2002, 10:34 AM
#6
Ok, I meant if you mean the resources that are directly put into the exe. I didn't know this is possible in VB
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 15th, 2002, 01:25 PM
#7
Member
I just added the wav files to the cab file so they
get extracted into the base directory when the
program installes.
-
May 9th, 2002, 06:29 AM
#8
Addicted Member
how do i add sound fiel to a cab directory
and then how to i make an install program for Vb or egt one
-
May 9th, 2002, 08:48 PM
#9
Thread Starter
Junior Member
Use the "package and deployment wizard" ...
Thats the only way I know how to do it.
-
May 9th, 2002, 11:44 PM
#10
Addicted Member
where do i find a package and deployment wizard
-
May 10th, 2002, 12:23 AM
#11
Fanatic Member
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
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
May 10th, 2002, 02:46 AM
#12
Addicted Member
can u please explain how to do it becouse i ahve no idea
-
May 10th, 2002, 04:08 AM
#13
Hyperactive Member
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.
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
|