Private Sub Form_Load() WindowsMediaPlayer1.URL = "C:\Windows\Media\Alarm01.wav" WindowsMediaPlayer1.settings.setMode "loop", True End Sub