Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementing CD Player In Visual Fox Pro Code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01041641
Message ID:
01041813
Views:
11
It can be done with MCI (Multimedia Command Strings): mciSendCommand, mciSendString and other API functions.

Communication with MCI Devices
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_communication_with_mci_devices.asp

VFP example (members area):
Accessing a CD device (cdaudio) with Multimedia Command Strings
http://www.news2news.com/vfp/?example=279&function=435

Some MCIs:
set cdaudio door open wait
set cdaudio door closed wait
open cdaudio shareable
stop cdaudio wait
close cdaudio
capability cdaudio can eject
capability cdaudio can play
capability cdaudio can record
capability cdaudio can save
capability cdaudio compound device
info cdaudio identity
info cdaudio upc
status cdaudio current track
status cdaudio length
status cdaudio media present
status cdaudio mode
spin cdaudio down
spin cdaudio up
play cdaudio from 2
pause cdaudio wait
resume cdaudio wait
Previous
Reply
Map
View

Click here to load this message in the networking platform