View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
teepee[_4_] teepee[_4_] is offline
external usenet poster
 
Posts: 27
Default Media Player versus Windows Media Player


"michelxld" wrote

you may try


Private Sub CommandButton1_Click()
WindowsMediaPlayer1.URL = "C:\myMusic.mp3"
WindowsMediaPlayer1.Controls.Play
End Sub


Many thanks. That worked a treat. My only problem is that another command
in the script "MP.Duration" cannot be translated into
"WindowsMediaPlayer1.Controls.Duration" Other than that glitch, I'm most
grateful to you.

tp