Re: playlistCollection.remove fails with invalid procedure call ..
- From: "Neil Scott" <NeilScott@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 24 Sep 2005 13:36:03 -0700
Hi,
it is the latest version v10. No web control present.
I have found a workaround but it does'nt make any sense, .. If I dont
define the playlistcollection as a iwmpplaylistcollect but leave it as a
variant .. even though a watch now shows it as a
variant\object\iwmpplaylistcollection, I now dont get any errors and can
remove to my hearts content. Dont you just love programming!!
thanks
Neil
"Jim Travis [ms]" wrote:
> Which version of the Player? Depending on the version, you might need to set
> permission to access the library in the Options dialog box. If you have an
> instance of the Web browser control in your app, you might need to request
> permission programatically.
>
>
> http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/settingsrequestmediaaccessrights.asp
> --
> Jim Travis
> Microsoft Corp.
> Windows Media Player SDK
>
> Download:
> http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp
>
> Latest online:
> http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp
>
> Please do not send email directly to this alias as this alias is for
> newsgroup purposes only. This posting is provided "AS IS" with no
> warranties, and confers no rights. You assume all risk for your use. © 2005
> Microsoft Corporation. All rights reserved.
>
> "Neil Scott" <NeilScott@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:7565F33F-2265-407A-BF9C-AA94EAFB9920@xxxxxxxxxxxxxxxx
> >I have a media player control in a vb6 form. I want to remove a playlist i
> > have created in the program but, when I try to use
> > wmp.playlistCollection.remove(p)
> >
> > p is IWMPPlaylist previosly created with
> > Set p = WMP.playlistCollection.newPlaylist(plName))
> >
> > I get the failed with invalid procedure call.
> >
> > Has anyone seen this + solution ?
> >
> > thanks
> >
> > Neil
> >
> > wmp = version 10
> > XP = SP2
> >
>
>
>
.
- References:
- Re: playlistCollection.remove fails with invalid procedure call ....
- From: Jim Travis [ms]
- Re: playlistCollection.remove fails with invalid procedure call ....
- Prev by Date: Re: IWMPPlaylist
- Next by Date: Re: Preloading media file
- Previous by thread: Re: playlistCollection.remove fails with invalid procedure call ....
- Next by thread: Re: mediacollection.getByAttribute
- Index(es):
Relevant Pages
|