View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kalle kalle is offline
external usenet poster
 
Posts: 27
Default Windows media player



Hi!

I have added WMP on a userform but I can't find out how to start a .wmv
file.

I have tryed this code without any success.

Private Sub UserForm_Initialize()
UserForm1.WindowsMediaPlayer1.settings.autoStart = True
UserForm1.WindowsMediaPlayer1.settings.volume = "90"
UserForm1.WindowsMediaPlayer1.currentPlaylist.Clea r
UserForm1.WindowsMediaPlayer1.URL = "C:\Users\Public\Videos\Sample
Videos\somefile.wmv"
End Sub

Is thier someone who can help me.

Thanks in advance

*** Sent via Developersdex http://www.developersdex.com ***