Salve a tutti, qualcuno può spiegarmi come si fa ad avviare una file audio automaticamente all'apertura di una maschera con access (senza far aprire il windows media player)?
Ciao! Grazie

Io ho questo codice che inserisco come modulo

Declare Function sndPlaySound Lib "winmm" Alias _
"sndPlaySoundA" (ByVal lpszSoundName As String, _
ByVal uFlags As Long) As Long

Public Const SND_SYNC = &H0
Public Const SND_ASYNC = &H1
Public Const SND_NODEFAULT = &H2
Public Const SND_MEMORY = &H4
Public Const SND_LOOP = &H8

E nella Form
Private Sub Form_Open(Cancel As Integer)
Dim rc As String
rc = sndPlaySound("C:\musica.wav", SND_SYNC)
End Sub
Ma mi si bloccca dopo l'utilizzo della maschera dopo che parte l'audio