CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Sound effects

  1. #1
    Guest

    Sound effects

    Is there a way to create a custom sound in VB? Aside from the Beep statement, how will I create a custom sound if, for instance, I'd like to accompany the showing of an error message with a sound? Other languages have this command/code. Clipper, for instance, has Tone(). Thanks in advance.


  2. #2
    Join Date
    Aug 1999
    Location
    Pakistan
    Posts
    366

    Re: Sound effects

    Why don't you try putting a Microsoft Multimedia Control and then OPen whichever sound you want with it.I once tried it and it worked fine



  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Sound effects

    There's code at http://codeguru.developer.com/vb/articles/1763.shtml that shows how to play just about any kind of sound file (wav/midi etc).

    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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

Featured