Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: afaq mushtaq
  Where is afaq mushtaq?
 Sialkot
 Pakistan
 afaq mushtaq
 Tags
Subject: RE: play sound on time
Thread ID: 331050 Message ID: 331056 # Views: 41 # Ratings: 0
Version: Visual FoxPro 7 Category: VFP and .NET
Date: Monday, December 26, 2011 10:11:54 AM         
   


> >
> >
> > Create a WAV file for whatever you want to play.
> >
> > give command
> >
> > SET BELL TO FileName
> >
> > and then
> > ??chr(7)
> >
> > will play the music
> >
> > Regards
> > Tushar
>
> thanks tushar for help but how can i control it in a time line i dont know about that control. can u help me??
>
> afaq mushtaq


You can use Vfp's Timer class, it has a .Timer() event where you can put your code, and .Interval and .Enabled properties among others, see Help.
See also the sndPlaySound() Win32API function -> Foxite -> Home -> Search



hth
-Stefan

ENTIRE THREAD

play sound on time Posted by afaq mushtaq @ 12/26/2011 8:40:37 AM
RE: play sound on time Posted by tushar @ 12/26/2011 9:01:56 AM
RE: play sound on time Posted by afaq mushtaq @ 12/26/2011 9:19:43 AM
RE: play sound on time Posted by Stefan Wuebbe @ 12/26/2011 10:11:54 AM