C
Cracker2k
Hallo, hoffe ihr könnt mir helfen.
Also ich will mit diesen Code verwenden keinen anderen die sind alle zu lang.
(Deklaration)
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
--
Private Sub Form_Load()
Call PlaySound("Datei.wav", 1, 0)
End Sub
Also nun will ich die Wav Datei stoppen die wiederholt sich aber dann immer wieder.
Gibt es da irgend einen command das sie nur einmal abspielt?

Also ich will mit diesen Code verwenden keinen anderen die sind alle zu lang.
(Deklaration)
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
--
Private Sub Form_Load()
Call PlaySound("Datei.wav", 1, 0)
End Sub
Also nun will ich die Wav Datei stoppen die wiederholt sich aber dann immer wieder.
Gibt es da irgend einen command das sie nur einmal abspielt?