Rostand Abear wrote in article ... > mmm... wouldn't it be fun if vfp program plays > .wav files if a user clicked a button and data > entered is not valid? > does anybody have an idea how? :) ---- From: jc Subject: Re: play .wav sounds with vfp? Date: Monday, November 03, 1997 6:49 PM
Rostand Abear wrote in article ... > mmm... wouldn't it be fun if vfp program plays > .wav files if a user clicked a button and data @Try ActiveX: Microsoft MCI Control thisform.Wavplayer.Enabled = .T. * open wave thisform.Wavplayer.Notify = .F. thisform.Wavplayer.Wait = .T. thisform.Wavplayer.Shareable = .F. thisform.Wavplayer.DeviceType = "WaveAudio" thisform.Wavplayer.FileName = "\others\ringin.wav" thisform.Wavplayer.Command = "Open" * play wave thisform.Wavplayer.Notify = .F. thisform.Wavplayer.Wait = .T. thisform.Wavplayer.From = 1 thisform.Wavplayer.To = thisform.Wavplayer.Length thisform.Wavplayer.Command = "Play" * close wave thisform.Wavplayer.Notify = .F. thisform.Wavplayer.Wait = .T. thisform.Wavplayer.Command = "Close"
rostand "le rêve d'étoiles" - (Fr.) the dream of the stars Ü