Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: khubaib khalid
  Where is khubaib khalid?
 HaroonAbad
 Pakistan
 khubaib khalid
 Tags
Subject: what is work of wait windows in these .
Thread ID: 395632 Message ID: 395632 # Views: 61 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Active X Controls & OLE Automation
Date: Thursday, January 16, 2014 3:27:16 PM         
   


what is work of wait windows in these codes..

I download codes from :http://www.west-wind.com/wconnect/weblog/ShowEntry.blog?id=823

to run mp3 file...

when i exculde *WAIT WINDOW "Press any key to stop" this line, mp3 does not run ,but when i inculded its run...
LOCAL loPlayer as WMPlayer.OCX
loPlayer = CREATEOBJECT("WMPlayer.OCX")
loItems = loPlayer.MediaCollection
loSong= loItems.add("d:\sound\aa.mp3")
 
LOCAL loPlayList as WMPlayer.IWMPPlaylist
loPlayList = loPlayer.currentPLayList
loPlayList.AppendItem(loSong)
 
loPlayer.Controls.PLay()
 
*WAIT WINDOW "Press any key to stop"
loPlayer.Controls.Stop()
 
*** Clear the playlist for the next song
loPlayList.clear()


ENTIRE THREAD

what is work of wait windows in these . Posted by khubaib khalid @ 1/16/2014 3:27:16 PM
RE: what is work of wait windows in these . Posted by Stefan Wuebbe @ 1/16/2014 3:41:46 PM
RE: what is work of wait windows in these . Posted by David Mustakim @ 1/16/2014 4:03:28 PM
RE: what is work of wait windows in these . Posted by Jun Tangunan @ 1/16/2014 11:42:49 PM