Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
ActiveX Media Player Question
I copied the following code from a response by michelxld on 8/3/2005, and I
am trying to figure out why is does not work. Option Explicit Dim Wmp As WindowsMediaPlayer 'activate Windows Media Player reference Sub jouerMediaPlayer() Set Wmp = CreateObject("WMPlayer.OCX.7") Wmp.URL = "C:\myfile info" Wmp.Controls.Play End Sub I am using Excel 2007, and don't have a WMPlayer.OCX file. I tried both msdxm.ocx and wmp.ocx, which I do have. The result is: "Run-time error '429' ActiveX component can't create object." Any guidance on how to get this to work would be appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Media player in active X | Excel Discussion (Misc queries) | |||
Controlling media player in VBA question | Excel Discussion (Misc queries) | |||
Controlling media player in VBA question | Excel Programming | |||
Media Player versus Windows Media Player | Excel Programming | |||
Media Player versus Windows Media Player | Excel Discussion (Misc queries) |