|
-
June 5th, 2003, 07:59 AM
#1
Multiple Monitors and Programs
Hi
I know how to start programs from within vb but i was wondering does anyone know how to start a program from vb on a different monitor. I then need to be able to close the program on that monitor.
For Example starting media player on monitor 1, outlook on monitor 2, powerpoint on monitor 3 and so on.
Any help would be appreciated
Thanks
-
June 7th, 2003, 09:17 PM
#2
well, unless I am mistaken, when you have multiple monitors Windows treats it as one giant desktop. So starting different apps on different monitors would simply be a matter of positioning (i.e. start media player at 0,0, outlook at 900,0 and so on)
Yes/No??
Tobey
-
June 9th, 2003, 11:39 PM
#3
Yes that is correct Tobey,
but how do i open a program say using shell or shell execute and specify the position of the program for a particular set of coordinates.
Certainly i can specify the left and top properties of vb forms and position them on the different monitors but i am not sure how to do this as mentioned above.
I have found that setting a reference to, say, the powerpoint object library, i can use the top and left properties of certain objects and position them at different coordinates but i was hoping to use a shell command or like to do this.
Any help is appreciated.
Thanks
RG
-
June 10th, 2003, 01:00 PM
#4
multiple monitors
You need buy multiple monitors display card and connect three monitors.
Jimmy
www.viscomsoft.com
-
June 10th, 2003, 06:17 PM
#5
Yes i already have multiple display cards and have the multiple monitor setup working. I am using win2k as OS.
In my research I have found that i can make it work by using the APIs shellexecuteex command to open the file, then using findwindow(), getwindowrect() and movewindow(), I can position the files at different coordinates, i then use terminateprocess() to close the file. This all seems abit messy, but if anyone knows of a better way to do this it I would greatly appreciate any suggestions.
Thanks
RG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|