Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
VB6 Resource file?
Old
  (#1)
H
Guest
 
Posts: n/a
Default VB6 Resource file? - 06-04-2007, 09:47 AM

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


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: VB6 Resource file?
Old
  (#2)
Auric__
Guest
 
Posts: n/a
Default Re: VB6 Resource file? - 06-04-2007, 09:47 AM

On Tue, 24 Aug 2004 20:36:11 +0100, H wrote:

>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.


Some light reading:

Working with Resource Files
http://msdn.microsoft.com/library/en...ourcefiles.asp

Using Visual Basic 3.0 to Play WAVE Files Stored in a DLL
http://support.microsoft.com/default...b;en-us;141060
(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)
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top