473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

directing output to selected monitor in a multi-monitor desktop

Is there a way to send output from a .NET app to a selected monitor screen
in a 3-monitor client desktop?
Currently, my app sends output to 3 windows then I have to move/drag each of
them to the proper monitor connected to the desktop.

Thanks

Bill
Nov 15 '06 #1
2 2669
You may want to check out the System.Windows.Forms.Screen class, I'm
not sure if it has the "send to monitor 3" functionality, but it's a
place to start. Also, most (maybe all?) multimonitor setups list the
resolution as the sum of all monitors. (i.e. for three side by side
monitors running at 1280x1024 the system resolution would be 3840x1024)
In that example you could set the left property of the form to 1280 and
the form would show on the second monitor, or set it to 2560 to put it
on the third monitor.

Thats all I can think of at the moment...

Thanks,

Seth Rowe
Bill Nguyen wrote:
Is there a way to send output from a .NET app to a selected monitor screen
in a 3-monitor client desktop?
Currently, my app sends output to 3 windows then I have to move/drag each of
them to the proper monitor connected to the desktop.

Thanks

Bill
Nov 15 '06 #2
Seth;
Thanks for the tip.
I think we can get some where.
here's the results on my own PC (2 monitors)

Device Name: \\.\DISPLAY1
Bounds: {X=1152,Y=0,Width=1152,Height=864}
Primary Screen: False

Device Name: \\.\DISPLAY2
Bounds: {X=0,Y=0,Width=1152,Height=864}
Primary Screen: True

Display2 has X=0 Y=0 Width=1152
Display1 has X=1152 Y=0 Width=1152

If I have another monitor (same size), Dispaly3 should have X=2304 Y=0
Width=1152

Using this example, can you please help show me how to send the outputs #1,
#2, #3 to the respective display# ?

The codes I used to display a new winform :

Dim frmScreen As New frmMultiScreens

With frmScreen

..Controls.Add(mPanel)

..WindowState = FormWindowState.Maximized

..Show()

'.ShowDialog()

End With
Thanks a million

Bill

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
You may want to check out the System.Windows.Forms.Screen class, I'm
not sure if it has the "send to monitor 3" functionality, but it's a
place to start. Also, most (maybe all?) multimonitor setups list the
resolution as the sum of all monitors. (i.e. for three side by side
monitors running at 1280x1024 the system resolution would be 3840x1024)
In that example you could set the left property of the form to 1280 and
the form would show on the second monitor, or set it to 2560 to put it
on the third monitor.

Thats all I can think of at the moment...

Thanks,

Seth Rowe
Bill Nguyen wrote:
>Is there a way to send output from a .NET app to a selected monitor
screen
in a 3-monitor client desktop?
Currently, my app sends output to 3 windows then I have to move/drag each
of
them to the proper monitor connected to the desktop.

Thanks

Bill

Nov 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Didier Degey | last post by:
hi all here is my problem ... i'm working on a network connection project and for the application i use a multi-window system one page for the search form one page for displaying general...
6
by: radnoraj | last post by:
Hi, I am sucessfull in redirecting console output to a file. but in this case nothing is displayed on the console, cout output is written to file without display. how do write the output to...
1
by: Alvey Sidecast | last post by:
This is probably embarrassingly simple, but I've been trawling through this ng for hours now and my brain hurts. I've got an unbound multi-column listbox (multi-select=none) whose rowsource is a...
3
by: google | last post by:
Hello, I am trying to create a listbox that users can select multiple entries on. I want Access to put each on of those selections in a different row on a particular table. This table will also...
2
by: Nevyn Twyll | last post by:
I have a set of libraries that do processing output to Console.Out, and Console.Error. How do I direct that output to a Textbox on a Windows form in CSharp? Thanks in advance! - Nevyn
5
by: Peteroid | last post by:
I'm doing a managed C++ application. Is there a way to re-direct 'cout' to output destinations other than the 'black console' that comes up? Specifically, re-direction to a text file? Thanks in...
6
by: Patrick Olurotimi Ige | last post by:
I would like to capture when a user has already selected an option from a multi select list / or Textbox So for example if a user selects a value 3 using a dropdown list or by inputing a value it...
4
by: Stu | last post by:
Hi, I need to push a .eml file (MS email pickup format) to the browser when the user clicks on a button. The file is outside of the web space so I used this method (which worked with word docs)....
6
by: probashi | last post by:
Hi, Issue: After post back selected item of a list box is getting out of focus (when it contains more items than it's size). I have a List Box in an ASPX page. I select an item from the...
11
by: woodey2002 | last post by:
This problem is driving me crazy. Hello there, i am trying to create a search form for records in my access database. The search form will contain text boxes and a multi select list box. The user...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.