Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP plays WMP
Message
De
28/12/2004 09:53:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00972406
Message ID:
00972574
Vues:
50
If I ever figure this out, I might have to test my writing skills on an article about WMP.

-----

Part 2
Error correction: I listed the wrong code in previous messages. So far, this is the only successful code I have seen. However, I do not know how to modify it to play a single song and then stop.

oWMP = CREATEOBJECT("WMPlayer.OCX")
oPlayList = oWmp.PlaylistCollection.GetAll()
oWmp.currentPlaylist = oPlayList.Item(0)

You can execute these three lines of code in the command window of VFP and run a WMP playlist.
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform