jiojioforever
Messages postés59Date d'inscriptionsamedi 14 mai 2005StatutMembreDernière intervention30 mai 2006
-
7 mars 2006 à 17:13
jiojioforever
Messages postés59Date d'inscriptionsamedi 14 mai 2005StatutMembreDernière intervention30 mai 2006
-
7 mars 2006 à 17:41
Salut j'ai un playsound de ce type mais je dois me tromper dans mes côtes quand je veux prendre le son selon un tableau
PlaySound (App.Path & "/Coq.wav"), ByVal 0&, SND_FILENAME Or SND_ASYNC
mortalino
Messages postés6786Date d'inscriptionvendredi 16 décembre 2005StatutMembreDernière intervention21 décembre 201118 7 mars 2006 à 17:31
Salut,
Pour t'aider, moi j'ai un son qui est lancé dès qu'on clique sur un bouton.
Pour cela j'ai créé un Module
En déclaration :
Private Declare Function Playsound Lib "winmm.dll" _
Alias "PlaySoundA" (ByVal lpszName As String, _
ByVal hModule As Long, ByVal dwFlags As Long) As Long
__________________________________________________
Puis