Thread
:
Windows media player
View Single Post
#
2
Posted to microsoft.public.excel.programming
Nigel[_2_]
external usenet poster
Posts: 735
Windows media player
This is probably not very helpful, but I tried your code applied a valid wmv
file name and it works ok for me.
Using xl2007 SP1; on Vista
--
Regards,
Nigel
"kalle" wrote in message
...
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
***
Reply With Quote
Nigel[_2_]
View Public Profile
Find all posts by Nigel[_2_]