Guest
|
Posted:
Sun Dec 18, 2005 9:30 am Post subject:
WMP10 embedding problem |
|
|
Writing a VFP application with an embedded media control. Actually two
controls, one for monitor 1 and one for secondary monitor if exists. I
can get both controls to play the files etc but the secondary monitor
control (borderless form - 1024x768 (left property -1024) wmp control
1024x768 modeui='mini') opens correctly but as soon as the file starts
to play the wmp control window shrinks to an area maybe 250x300.
Sometimes double clicking on the secondary monitor control will start
full screen but not consistently. I have tried programatically
switching to fullscreen eg
if formset.form2.player2.playstate=3
formset form2.player2.fullscreen=.t.
endif
but when the full screen mode is not working the control throws an ole
error code 0x080004005 even when the playstate is 3
I tried reregistering my wmp.dll control and I just can't figure it
out. Fullscreen will work on a file one minute and then it won't. Any
help would be appreciated.
|
|