Xetusath
Xetusath

Reputation: 39

How can I loop a song with Windows Media Player in Visual Basic?

Previously I was playing it like

 My.Computer.Audio.Play(My.Resources.island, AudioPlayMode.BackgroundLoop)

But for different reasons(such as: lack of setting possibilities), thats not good enough, so I changed to Windows media player, but I have not a clue, how to make the sound loop in the background

Upvotes: 2

Views: 13417

Answers (1)

Idle_Mind
Idle_Mind

Reputation: 39132

Try:

AxWindowsMediaPlayer1.settings.setMode("Loop", True)

Upvotes: 5

Related Questions