Re: VBA Script to Read WMP 11 Database
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Sat, 07 Apr 2007 15:45:01 GMT
On Fri, 6 Apr 2007 05:20:01 -0700, Lou G
<LouG@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thanks for your prompt reply.
HKEY_CLASSES_ROOT\WMPlayer.OCX doesn?t contain anything related to
You've misunderstood what I said.
Right click the key in regedt32, you should be able to see the current
permissions on that key. The user which is running the application
would need read permissions for that key. Without being able to read
the key, the automation server probably can't create the ActiveX.
Actually, I have made some progress since my post. I added a
WindowsMediaPlayer control to my form, and changed the object-creation line
to <objPlayer = CreateObject (WindowsMediaPlayer, ?WMPlayer.ocx?). Now the
error message says <429 Active-X component can?t create object>. So
apparently the command is now reaching Media Player, although Media Player is
refusing to do it.
No, it isn't. As noted above, the error means that windows cannot run
the CreateObject line, so WMP is not instantiated, and lines following
in the script against this non-created control will fall through to
your catch block.
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.
- References:
- Re: VBA Script to Read WMP 11 Database
- From: Neil Smith [MVP Digital Media]
- Re: VBA Script to Read WMP 11 Database
- Prev by Date: RE: Burning CD Text
- Next by Date: Re: Windows Media 10 Mobile codecs
- Previous by thread: Re: VBA Script to Read WMP 11 Database
- Next by thread: Re: VBA Script to Read WMP 11 Database
- Index(es):
Relevant Pages
|
|