start mediaplayer hidden with audio or fullscreen for movies ?

  • Thread starter Thread starter HomeAutomation Freak
  • Start date Start date
H

HomeAutomation Freak

Hi folks,


I'm currently using the following line of code to startup mediaplayer
from within my own application, to start playing an audiostream:

ODP_Process = OPENNETCF.Diagnostics.Process.Start("\Program
Files\Windows Media Player
8\player.exe","mms://streampower.belgacom.be/donnahigh")

The problem is that the mediaplayer becomes visible ;-(
Anyone got a clue on how to start this audiostream without showing
mediaplayer ?

I also would like to know if I play a videostream, on how to set the
mediaplayer fullscreen, so a user doesn't see the mediaplayer
interface, but only the videostream fullscreen.

(I'm using VB .NET CF with OpenNetCF)


Thanks in advance,
Kris
 
There aren't any (documented) commandline arguments for media player to
start full-screen without the ui. For an audiostream you can set your own
form to return to the front after calling Process.Start but this may
introduce a flicker between the two apps.

I'll look at whether it's possible to add support for the WindowStyle
property to my OpenNETCF.Diagnostics.ProcessStartInfo to start a process
hidden. No promises on if/when this is implemented though.

Peter
 
Back
Top