Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Embedding Windows Media Player into a Windows Mobile 6 App..

 
   PDA (Home) -> Pocket PC - Developer RSS
Next:  To detect SIM card is inserted or not in PPC  
Author Message
helgip

External


Since: Sep 16, 2008
Posts: 1



(Msg. 1) Posted: Tue Sep 16, 2008 10:28 pm
Post subject: Embedding Windows Media Player into a Windows Mobile 6 Application
Archived from groups: microsoft>public>pocketpc>developer (more info?)

Hello,

I am developing an application for Windows Mobile 6 using VS 2008. The
application is written in C# for the .NET CF platform. This is a sort of a
multimedia browser intended for museums and it mixes browsing of content
like images sounds and video. The images and sounds have been going very well
but now I must find a way to embed the Windows Media Player control within
this application (i.e. host the WMP ActiveX control within the .NET
application windows form) because I do not want that this application is ever
exited or overriden by going in to the WMP mobile application itself when
video content should be played.

I have been able to quite easily and quickly embed this control in a .NET
desktop application, but when I am working on a mobile application targeted
for Windows Mobile 6 in VS 2008 and try to add the WMP control to the toolbox
palette it just will not appear there, so how can I make it appear on the
form of the mobile application?

If someone here has the experience of how to do this I would very much
appreciate if you
could describe to me the steps of how to make it work, or if not, then it
would
be nice if you could point me somewhere in the right direction or provide me
with a contact who might be able to provide support for this.

Regards.

Helgi
Back to top
Login to vote
Chris Tacke, eMVP

External


Since: Mar 19, 2008
Posts: 49



(Msg. 2) Posted: Tue Sep 16, 2008 10:28 pm
Post subject: Re: Embedding Windows Media Player into a Windows Mobile 6 Application [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There are 2 options that I know of:

1. Follow the MSDN tutorial for ActiveX Hosting:
http://msdn.microsoft.com/en-us/library/aa446515.aspx
Note the bug:
http://blog.opennetcf.com/ctacke/2008/08/14/BugInMSDNActiveXHostingCode.aspx

2. Use a commercial control:
http://www.opennetcf.com/Products/Controls/MediaPlayerControls/tabid/2...Default


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"helgip" <u46264@uwe> wrote in message news:8a4c5cf599639@uwe...
> Hello,
>
> I am developing an application for Windows Mobile 6 using VS 2008. The
> application is written in C# for the .NET CF platform. This is a sort of a
> multimedia browser intended for museums and it mixes browsing of content
> like images sounds and video. The images and sounds have been going very
> well
> but now I must find a way to embed the Windows Media Player control within
> this application (i.e. host the WMP ActiveX control within the .NET
> application windows form) because I do not want that this application is
> ever
> exited or overriden by going in to the WMP mobile application itself when
> video content should be played.
>
> I have been able to quite easily and quickly embed this control in a .NET
> desktop application, but when I am working on a mobile application
> targeted
> for Windows Mobile 6 in VS 2008 and try to add the WMP control to the
> toolbox
> palette it just will not appear there, so how can I make it appear on the
> form of the mobile application?
>
> If someone here has the experience of how to do this I would very much
> appreciate if you
> could describe to me the steps of how to make it work, or if not, then it
> would
> be nice if you could point me somewhere in the right direction or provide
> me
> with a contact who might be able to provide support for this.
>
> Regards.
>
> Helgi
>
Back to top
Login to vote
helgip via PocketPCJunkie

External


Since: Sep 18, 2008
Posts: 1



(Msg. 3) Posted: Thu Sep 18, 2008 1:39 pm
Post subject: Re: Embedding Windows Media Player into a Windows Mobile 6 Application [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks a lot for that information.
I have been trying to follow that tutorial but i notice that the sample
project that comes with it is targeted for Pocket PC 2003 and .NET CF 2.0
using VS 2005 whereas my application is targeted for Windows Mobile 6
Professional and .NET CF 3.5 using VS 2008.
I have been trying to make the code work for my platform and within my
application but with no luck so far. Have you got some suggestion about how
to convert/change this project to make it work for Windows Mobile 6
Professional and .NET CF 3.5 using VS 2008?

Thanks.

Helgi

Chris Tacke, eMVP wrote:
>There are 2 options that I know of:
>
>1. Follow the MSDN tutorial for ActiveX Hosting:
> http://msdn.microsoft.com/en-us/library/aa446515.aspx
> Note the bug:
> http://blog.opennetcf.com/ctacke/2008/08/14/BugInMSDNActiveXHostingCode.aspx
>
>2. Use a commercial control:
> http://www.opennetcf.com/Products/Controls/MediaPlayerControls/tabid/2...Default
>
>> Hello,
>>
>[quoted text clipped - 29 lines]
>>
>> Helgi

--
Message posted via http://www.pocketpcjunkies.com
Back to top
Login to vote
Chris Tacke, eMVP

External


Since: Mar 19, 2008
Posts: 49



(Msg. 4) Posted: Thu Sep 18, 2008 1:39 pm
Post subject: Re: Embedding Windows Media Player into a Windows Mobile 6 Application [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The procedures don't change for '08 and WinMo 6 - the code will be
identical, just the tool differs slightly.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"helgip via PocketPCJunkies.com" <u46264@uwe> wrote in message
news:8a60e2252aacc@uwe...
> Thanks a lot for that information.
> I have been trying to follow that tutorial but i notice that the sample
> project that comes with it is targeted for Pocket PC 2003 and .NET CF 2.0
> using VS 2005 whereas my application is targeted for Windows Mobile 6
> Professional and .NET CF 3.5 using VS 2008.
> I have been trying to make the code work for my platform and within my
> application but with no luck so far. Have you got some suggestion about
> how
> to convert/change this project to make it work for Windows Mobile 6
> Professional and .NET CF 3.5 using VS 2008?
>
> Thanks.
>
> Helgi
>
> Chris Tacke, eMVP wrote:
>>There are 2 options that I know of:
>>
>>1. Follow the MSDN tutorial for ActiveX Hosting:
>> http://msdn.microsoft.com/en-us/library/aa446515.aspx
>> Note the bug:
>>
>> http://blog.opennetcf.com/ctacke/2008/08/14/BugInMSDNActiveXHostingCode.aspx
>>
>>2. Use a commercial control:
>>
>> http://www.opennetcf.com/Products/Controls/MediaPlayerControls/tabid/2...Default
>>
>>> Hello,
>>>
>>[quoted text clipped - 29 lines]
>>>
>>> Helgi
>
> --
> Message posted via http://www.pocketpcjunkies.com
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Media Player problem in windows explorer mobile - I am developing an application that needs to play an audio with some synchronized images using Internet Explorer Mobile. My pocket PC works with Windows Mobile 5.0 and WMP 10. The application already works on Windows XP. I can play the audio and..

WVC1 in Windows Media Player Mobile 10.3 - I am trying to stream a feed that has both an audio and video stream. The audio is encoded in windows media 9.1 and the video is encoded in the microsoft advanced format vc-1 (WVC1). Windows media player mobile 10.3 plays the audio fine but it never..

Windows Media Player put_uiMode - Dear sirs! I'm trying to use Windows Media Player in my application for Windows CE. I just want to show video, so controls "play"/"stop" etc must be hidden. I've checked example from WMP SDK, and I'm trying to use function..

Windows Media Player ActiveX control using MFC C++ - I've inserted the WMP activeX control into a single dialog based application to run on a Pocket PC (using the Pocket PC 2003 SDK). I cannot get the control to show up...and when I run it I notice these messages/warnings in the debugger: .... Persistenc...

Turning down volume of Windows Media Player while playing .. - Hi, I am in the process of adding sound alerts to an existing Pocket PC application developed in evc 3.0. The application is targeting Pocket PC 2002 devices and higher. The application is used in scenarios where users might be listening to music fro...
       PDA (Home) -> Pocket PC - Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
 Mac Forums
  PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact