Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP plays WMP
Message
From
27/12/2004 16:56:48
 
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:
00972455
Views:
29
If you execute the following 3 lines of code in VFP it will invoke WMP 10 and start playing your audio library.

oWMP = CREATEOBJECT("WMPlayer.OCX")
oPlayList = oWmp.PlaylistCollection.GetAll()
oWmp.currentPlaylist = MediaPlayer.Play( )
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