Re: playlistCollection.remove fails with invalid procedure call ..

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
> >
>
>
>
.



Relevant Pages

  • Custom Web Control not showing up in Toolbox
    ... I created the control ... in a separate Web Control Library project. ... Public Property ExportType() As AppType ... Dim FileExtension As String = ".xls" ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: People in Denial
    ... The only person you can control is ... Your family is grossly overweight and inactive and if they dont help ... Your mother needs better care. ... In tribute to the United States of America and the State ...
    (alt.support.diabetes)
  • Re: OT, more of my inane ramblings
    ... I often find myself cleaning when under stress. ... and it gives me the illusion of control. ... still dont really know what dd and ds want this xmas to be like. ... they dd suggested chickpea sprouts. ...
    (rec.crafts.textiles.quilting)
  • Re: To Rack Jite
    ... back and forth pressured to choose a side, truth being i don't care to ... misfortune or lack of occational self control to have a good laugh then ... Juba I truly hope I haven't taken your compliment out of text, ... About 98% here know whats going on and either dont want to ...
    (alt.support.chronic-pain)
  • Can access SelectedItem in Web Control after FindControl
    ... My C# ASP.NET application only fails when I try to access the Web ... -The Web Control contains a DropDownList populated from a dataset. ... SelectedItem, ...
    (microsoft.public.dotnet.framework.aspnet)