Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
![]()
May I beg for advice from the collective wisdom?
Any advice gratefully received. I was using media player (v6.4) as an object in a userform and I tried to use the more advanced version of media player (WindowsMediaPlayer1) that comes from the additional controls toolbox. I dutifully replaced all theoccurences of MP with WindowsMediaPlayer1 in the code, but the command "WindowsMediaPlayer1.Open (Mfile)" generates an error whereas the command "MP.Open (Mfile)" didn't. Anyone know why? Old code reads Private Sub CommandButton1_Click() Dim Mfile As String Mfile = "c:\test.mpg" MP.Open (Mfile) End Sub New code reads Private Sub CommandButton1_Click() Dim Mfile As String Mfile = "c:\test.mpg" WindowsMediaPlayer1.Open (Mfile) End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
windows media player commands | Excel Discussion (Misc queries) | |||
Close Windows Media Player | Excel Discussion (Misc queries) | |||
Force asx to bring up Windows Media Player - How? | Excel Discussion (Misc queries) | |||
Media Player versus Windows Media Player | Excel Discussion (Misc queries) | |||
Excel windows media player links | Excel Programming |