VB6 Resource file?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • H

    VB6 Resource file?

    Hi,

    I have written a small game with a aroud 20 sounds. At the moment these
    wave files are just put into a folder and called using the playsound
    function.

    Is there a way to embed these files into the vb app? Ive read about
    resource files but havent found any useful info on how to use them. is
    there another way to do this or even a website explaining how to do this?

    Thanks a lot!

    Hellen.


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004


  • Auric__

    #2
    Re: VB6 Resource file?

    On Tue, 24 Aug 2004 20:36:11 +0100, H wrote:
    [color=blue]
    >Hi,
    >
    >I have written a small game with a aroud 20 sounds. At the moment these
    >wave files are just put into a folder and called using the playsound
    >function.
    >
    >Is there a way to embed these files into the vb app? Ive read about
    >resource files but havent found any useful info on how to use them. is
    >there another way to do this or even a website explaining how to do this?
    >
    >Thanks a lot!
    >
    >Hellen.[/color]

    Some light reading:

    Working with Resource Files
    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


    Using Visual Basic 3.0 to Play WAVE Files Stored in a DLL

    (still good for VB6 - if your resources are embedded into the app, just
    skip the parts about creating the resource file and loading libraries)
    --
    auric underscore underscore at hotmail dot com
    *****
    If you only face forward, there is something you will miss seeing.
    -- Vash the Stampede (Trigun)

    Comment

    Working...