Results 1 to 3 of 3

Thread: Playing Sounds

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Launceston, Tasmania, Australia
    Posts
    6

    Post

    I really need this function for an app i am working on, i am using VB 3.00

    does anyone know what sound files it supports?

    and a code to inport a sound for vb 3.00

    please someone

    and if anyone can a code to play a random sound file

    thanx

  2. #2
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg , Denmark
    Posts
    1,544

    Post

    I'm using VB5, so i don't know if this works with VB3.

    Put the Microsoft ActiveMovie Control on your form and type the following code in Form1's code window:

    ActiveMovie1.AutoStart = True
    ActiveMovie1.FileName = "x:\sound\sound.wav"

    / CyberCarsten
    VB Programmer

  3. #3
    Junior Member
    Join Date
    Oct 1999
    Location
    IL
    Posts
    16

    Post

    I have a *.bas file that will allow you to do it just by typing

    playwav(*:\filedir\filename.wav)

    If you would like it email me at gateskeeper@geocities.com

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