Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2013, 06:51 AM
Boo Boo is offline Windows Media Player Windows XP Windows Media Player Office 2007
Novice
Windows Media Player
 
Join Date: Mar 2013
Posts: 9
Boo is on a distinguished road
Default Windows Media Player

Would someone explain why the following code creates a runtime error



Private Sub CommandButton1_Click()
Worksheets("Sheet2").Activate
Dim wmp7 As WindowsMediaPlayer
Set wmp7 = CreateObject("WMPlayer.OCX.7")
End Sub

The error is
-----------
Run-time error"-214467259(80004005)':
Automation error
Unspecified error

I could add the WMP on a worksheet mannually.
Thanks
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
activex windows media player control Boo Excel 0 04-25-2013 05:48 PM
Media Player Classic Problems Wylie Misc 0 10-13-2012 10:21 AM
Windows Media Player taking a while to load captainron19 Misc 0 11-01-2011 08:25 PM
Windows Media Player embed media player classic jonny_rotten PowerPoint 1 08-24-2010 12:46 AM
Package for CD with links to Windows media player content and Flash Shockwave content hectorh PowerPoint 4 10-15-2009 12:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft