|
-
Sep 24th, 2006, 04:42 PM
#1
Thread Starter
Addicted Member
Re: VB6 Embed audio
It still won't work >_<, I can't figure out what I'm doing wrong...
http://www.arbital24.com/TheProgram/
That's a link to a folder with my program forms, project file, compiled exe, resource file and sound file. Do you think you could possibly have a look and recommend what to put where, or edit it for me so that it works? (I won't actually have the sound execute on form_load, it will be when the button is clicked, but I just put it there to test it).
Thanks!
-
Sep 25th, 2006, 03:21 AM
#2
Re: VB6 Embed audio
The wav file has to be identified as such in the resource file. Double-click on the 101 in the resource editor window and replace the Type "CUSTOM" with "SOUND". You should see something like this when you've done.
Code:
[-] C:\Temp\Project1.RES
[-] "SOUND"
[+] 101
Compile and run the exe. There's a link to a very good tutorial on resource files in my signature.
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
|