cs_zakinho
Messages postés4Date d'inscriptionmardi 6 juin 2006StatutMembreDernière intervention26 juin 2006
-
26 juin 2006 à 13:39
Tanaka56
Messages postés124Date d'inscriptionsamedi 8 avril 2006StatutMembreDernière intervention29 janvier 2009
-
27 juin 2006 à 08:16
salut , jvoudrais savoir comment introduire un son dans mon application veulliez meclaisir svp
merci!!
Tanaka56
Messages postés124Date d'inscriptionsamedi 8 avril 2006StatutMembreDernière intervention29 janvier 2009 27 juin 2006 à 08:16
Bonjour, Il faut insérer ce contrôle : Microsoft multimedia control 6.0
Private Sub Wave()
' Définit les propriétés nécessaires à l'ouverture du périphérique MCI.
MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False
MMControl1.DeviceType = "WaveAudio"
End Sub
Private Sub SonDing()
'Ouvre le périphérique MCI WaveAudio.
MMControl1.FileName = "C:\WINDOWS\MEDIA\DING.WAV"
MMControl1.Command = "Open"
MMControl1.Command = "Play"
MMControl1.Command = "Prev"
End Sub