Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open 2nd CD drive door
Message
De
01/02/2006 19:52:39
 
 
À
01/02/2006 17:36:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01092639
Message ID:
01092671
Vues:
25
This message has been marked as the solution to the initial question of the thread.
>I've used this in the past and it does work for opening the first CD drive door:
>
>
DECLARE integer mciSendString IN WINMM.DLL string, string, integer,integer
>?mciSendString('set cdaudio door open wait',"",0,0)
>
>What do I use to open/close other CD drives?


Hi Fred,

You can use an alias name:
cCDDrive2 = 'G:'
mciSendString('Open ' + cCDDrive2 + ' type CDAudio alias CD2', Null, 0, 0)
mciSendString('Set CD2 door open wait', Null, 0, 0)
HTH
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform