Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP plays WMP
Message
From
28/12/2004 09:53:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00972406
Message ID:
00972574
Views:
47
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform