need ideas on using dual monitor/tv

tapai_rhino

Member
Joined
Jan 13, 2006
Messages
16
Programming Experience
Beginner
hi everyone...

im currently trying to build a media center software... the software will list all media (movies n music) and the user will select a movie or a song to play...my question is, let say i got 2 display output, one is a computer monitor and the other one is a tv connected to s-video.. what i want to do is the monitor will display all playable media and and once selected it will be played on the tv.. is there any vb.net function or any third party that can do that?


thanks...
 
If it's your own form playing the media, for instance with a Windows Media Player control on the form, you can place the form to the secondary screen by checking with the System.Windows.Forms.Screen class (you will get all screens and their location and which is the primary screen), then set the location of that form where it will be placed on second screen.

If you make another application (commonly any default application) play the media you still use the Screen class to locate screens, but I think you have to use Win32 API method SendMessage to relocate other application.

Here is some info and example for Screen class http://www.vbdotnetforums.com/showthread.php?t=11889&highlight=screen
Here one for WMP control http://www.vbdotnetforums.com/showpost.php?p=34948&postcount=4
 
Back
Top