Results 1 to 28 of 28

Thread: [RESOLVED] VB6 Embed audio

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2005
    Posts
    248

    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!

  2. #2
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    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
  •  



Click Here to Expand Forum to Full Width