Results 1 to 2 of 2

Thread: Sound for VB??

  1. #1

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81

    Question Sound for VB??

    Can vb load multiple sound files and store them in memory and use them at an event?

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You can load the WAV file into a String, then play that string at any time with the SndPlaySound API. Constants to look up for the flags (for your use) would be the SND_ASYNC and SND_NODEFAULT.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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