metalcoder
Messages postés193Date d'inscriptionjeudi 14 février 2002StatutMembreDernière intervention25 mars 20111 28 juil. 2005 à 21:59
je vois pas le probleme avec ton chemin d'acces
voici un exemple qui ouvre le lecteur
Private Declare Function mciSendStringA Lib "WinMM" (ByVal LpStrCommand As String, ByVal LpStrRtnString As Any, ByVal wRtnLength As Integer, ByVal Hcallback As Integer) As Long
Private Sub Command1_Click()
Dim errorcode As Integer
Dim returnstr As String * 256
errorcode = mciSendStringA("open cdaudio shareable alias cd", returnstr, 255, 0)
errorcode = mciSendStringA("stop cd", returnstr, 255, 0)
errorcode = mciSendStringA("set cd door open", returnstr, 255, 0)