MediaPlayer and vista Problem

MediaPlayer and vista Problem

Postby Mike Buckler » Mon Oct 27, 2008 11:22 pm

When I execute this cosde on xp it works fine.

But on vista home I do not get the 1/2 size screen setting and the media player is displayed with controls in the top left corner of the window audio plays but just a black box for video.

Anyone have a fix for this problem?
Thanks in advance Mike.

Code: Select all  Expand view
      DEFINE WINDOW  owndvid  FROM 0,0  TO     400,550  pixel  style nOr(WS_POPUP )       
activevid = TActiveX():New( owndvid, "MediaPlayer.MediaPlayer.1" )
      activevid:TransparentAtStart:=.t.
      activevid:FileName ="fivewin.avi"
      activevid:ShowControls :=.f.
      activevid:PlayCount :=0
      activevid:SendMouseClickEvents :=.f.
      activevid:ClickToPlay:=.f.
      activevid:DisplaySize:=7
      activevid:VideoBorder3D:=.t.
      owndvid:oClient := activevid
      ACTIVATE WINDOW    owndvid  on init (SetWindowPos( owndvid:HWND, -1, 0, 0, 0, 0, 3 ) )
Mike Buckler
 
Posts: 67
Joined: Thu Jan 05, 2006 10:35 pm
Location: Canada

Postby Antonio Linares » Wed Oct 29, 2008 10:15 am

Mike,

FWH\samples\Media.prg is working fine here with Vista :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Mike Buckler » Thu Oct 30, 2008 10:44 pm

Thanks Mike
Mike Buckler
 
Posts: 67
Joined: Thu Jan 05, 2006 10:35 pm
Location: Canada

Postby Mike Buckler » Thu Oct 30, 2008 10:44 pm

Thanks Mike
Mike Buckler
 
Posts: 67
Joined: Thu Jan 05, 2006 10:35 pm
Location: Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 94 guests