Post Reply

Forums -> UltraMon™ SDK -> VB6 Program Displaying MediaPlayer Video into 2nd Display
koltz   2002-06-24 10:44
I am trying to figure this out, but I don't see alot of examples and that is usually how I learn. Anyway, I am creating a program in VB6 the will play a video file (MPG and MPEG2) and I get it to display, what I want to do is display it in a TV that is connected preferably. Here is the short code that I am using:

mp.Filename = Video
mp.DisplaySize = mpFullScreen

The Video is a string file that is the filename/directory of the file that is to be played. Currently this will display in the current screen 1.

Thanks, Corey
Christian Studer   2002-06-24 11:56
You can use UltraMon to get the size and position of the secondary display. You may be able to use this information to position/size your form or the video window.

I'm not familiar with the WMP object, but most likely fullscreen mode will always be on the primary. Try using windowed mode and sizing the window to cover the entire monitor.

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ SDK -> VB6 Program Displaying MediaPlayer Video into 2nd Display

Post Reply