Hello, can you help me? I badly want to fix it right now because this project should be pass tomorrow morning. I made an lyrics application and then if I press twice the play button of the MediaPlayer, the music will play like a boomerang. What should I do? This is the code I used:
Dim Mp As MediaPlayer
Dim Pause1 As Button
Dim Play1 As Button
Dim Stop1 As Button
Sub Pause1_Click
Mp.Load(File.DirAssets, "BTS - ANPANMAN.mp3")
Mp.Pause
End Sub
Sub Play1_Click
Mp.Initialize
Mp.Load(File.DirAssets, "BTS - ANPANMAN.mp3")
Mp.Play
End Sub
Sub Stop1_Click
Mp.Load(File.DirAssets, "BTS - ANPANMAN.mp3")
Mp.Stop
End Sub
Dim Mp As MediaPlayer
Dim Pause1 As Button
Dim Play1 As Button
Dim Stop1 As Button
Sub Pause1_Click
Mp.Load(File.DirAssets, "BTS - ANPANMAN.mp3")
Mp.Pause
End Sub
Sub Play1_Click
Mp.Initialize
Mp.Load(File.DirAssets, "BTS - ANPANMAN.mp3")
Mp.Play
End Sub
Sub Stop1_Click
Mp.Load(File.DirAssets, "BTS - ANPANMAN.mp3")
Mp.Stop
End Sub