OUVRIR LE CD SUR UN BOUTON (TOUCHE DROITE SUE LE CD DANS LA BARRE DE TACHE )
cs_MaXell
Messages postés23Date d'inscriptiondimanche 10 mars 2002StatutMembreDernière intervention 1 août 2002
-
8 avril 2002 à 14:43
tmcuh
Messages postés458Date d'inscriptiondimanche 22 décembre 2002StatutMembreDernière intervention18 avril 2009
-
23 févr. 2003 à 10:50
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
tmcuh
Messages postés458Date d'inscriptiondimanche 22 décembre 2002StatutMembreDernière intervention18 avril 2009 23 févr. 2003 à 10:50
Super ton truc seulement tu devrais rajouté le fait qu'il peut y avoir un autre lecteur CD ou DVD.
Didiboy
Messages postés22Date d'inscriptionvendredi 13 octobre 2000StatutMembreDernière intervention26 octobre 2002 9 avril 2002 à 21:14
je ne vois pas a koi sert ton timer
ton programme serais deja plus compéhensible comme ca concernant le clik sur le bouton
Private Sub Command1_Click()
If Command1.Caption = "fermer le CD" Then
Dim lngrep2 As Long, sm2 As String
lngrep2 = mciSendString("set CDAudio door closed", sm2, 127, 0)
Command1.Caption = "ouvrir le CD"
Else
Dim lngrep As Long, sm As String
lngrep = mciSendString("set CDAudio door open", sm, 127, 0)
Command1.Caption = "fermer le CD"
End If
End Sub
cs_MaXell
Messages postés23Date d'inscriptiondimanche 10 mars 2002StatutMembreDernière intervention 1 août 2002 8 avril 2002 à 14:43
23 févr. 2003 à 10:50
9 avril 2002 à 21:14
ton programme serais deja plus compéhensible comme ca concernant le clik sur le bouton
Private Sub Command1_Click()
If Command1.Caption = "fermer le CD" Then
Dim lngrep2 As Long, sm2 As String
lngrep2 = mciSendString("set CDAudio door closed", sm2, 127, 0)
Command1.Caption = "ouvrir le CD"
Else
Dim lngrep As Long, sm As String
lngrep = mciSendString("set CDAudio door open", sm, 127, 0)
Command1.Caption = "fermer le CD"
End If
End Sub
8 avril 2002 à 14:43
POur un débutant, tu te débrouille bien !
MaXell