471,090 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,090 software developers and data experts.

VB6 Resource file?

H
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
Jul 17 '05 #1
1 8682
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)
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Gabriel Lozano-Morán | last post: by
2 posts views Thread by Joe Thompson | last post: by
11 posts views Thread by Alan T | last post: by
7 posts views Thread by craig | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.