Results 1 to 13 of 13

Thread: Wav & Mp3 to Resource file - How?

  1. #1

    Thread Starter
    Junior Member Ruskin's Avatar
    Join Date
    Jan 2002
    Location
    Michigan
    Posts
    18

    Wav & Mp3 to Resource file - How?

    How do I

    Wav and Mp3 to resource file and back?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  3. #3

    Thread Starter
    Junior Member Ruskin's Avatar
    Join Date
    Jan 2002
    Location
    Michigan
    Posts
    18
    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?

  4. #4
    Zaei
    Guest
    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.

  5. #5

    Thread Starter
    Junior Member Ruskin's Avatar
    Join Date
    Jan 2002
    Location
    Michigan
    Posts
    18

    Post

    Thanks alot

    guess that clears that up...
    makes it easier too.
    I have all the sounds in with "Direct Sound"
    VB Rules.......

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  7. #7
    Member Keger's Avatar
    Join Date
    Jun 2001
    Location
    Detroit (Hell)
    Posts
    57
    I just added the wav files to the cab file so they
    get extracted into the base directory when the
    program installes.

  8. #8
    Addicted Member
    Join Date
    Mar 2002
    Posts
    158
    how do i add sound fiel to a cab directory
    and then how to i make an install program for Vb or egt one

  9. #9

    Thread Starter
    Junior Member Ruskin's Avatar
    Join Date
    Jan 2002
    Location
    Michigan
    Posts
    18
    Use the "package and deployment wizard" ...
    Thats the only way I know how to do it.

  10. #10
    Addicted Member
    Join Date
    Mar 2002
    Posts
    158
    where do i find a package and deployment wizard

  11. #11
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    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

  12. #12
    Addicted Member
    Join Date
    Mar 2002
    Posts
    158
    can u please explain how to do it becouse i ahve no idea

  13. #13
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    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
  •  



Click Here to Expand Forum to Full Width