Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing CD Player In Visual Fox Pro Code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01041641
Message ID:
01041813
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform