Anise,
You are trying to add an ActiveX control, which is not the right way to
do it. Rather, you have to declare an <object> tag in your ASP.NET page,
which will reference the media player, which is installed locally on the
user's machine.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mvp@spam.guard.caspershouse.com
"Anise" <anonymous@discussions.microsoft.com> wrote in message
news:066601c4b6cc$54614160$a401280a@phx.gbl...[color=blue]
>I have a question concerning embedding a windows media
> player into a web application in .net..
>
> I download Windows Media Player 10 and its SDK
>
> On the .ascx page I placed a windows media player object
> from the toolbox
> and all the sites i read say when
> "Adding the Windows Media Player control from the Toolbox
> also adds references to two libraries created by Visual
> Studio, AxWMPLib and WMPLib"
>
> For some reason though I cannot establish a reference to
> the AxWMPLib namespace nor can i find its
> AxInterop.WMPLib.dll which are vital in using this
> object...
>
> does anyone know what might be my problem?
>[/color]