473,785 Members | 3,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2695
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,Wid th=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_newsgroup s" <ro********@yah oo.comwrote in message
news:11******** *************@m 73g2000cwd.goog legroups.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
1757
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 informations one page for displaying details informations in one case, i can't determine where the result of the research must be displayed
6
4622
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 console as well as to file, my code is as below, ======================================================================= #include <iostream.h> #include<ostream> #include<sstream>
1
5036
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 query based on a combobox selection. After the selection is made from the combobox the listbox may, or may not, have records in it. If it doesn't, no problems, I've got; If Me.lbxContacts.ItemsSelected.Count = 0 Then
3
4641
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 include the primary key of the parent form of the form that has the listbox. Here is the code that I have. Right now it will put all of the selections from the listbox into one row. Private Sub Category_Click()
2
2638
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
3039
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 advance! : )
6
1426
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 shouldn't be allowed to select 3 again only values 2 and 1. using a rated 1 to 3 in order of preference) *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
4
3033
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). This nearly works....but the email file has the web page contents tagged on the end of it. It looks like the Response.Clear() is not working. 'load file in to byte array Dim s As New FileStream("c:\Test.eml", FileMode.Open)
6
16416
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 ListBox and after post back the item is still selected but it is not focused (i.e. I have to scroll down to see the selected item) Any way to fix this!
11
5601
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 can enter their search criteria eg. surname, reg num, etc. in the text boxes. The multi select list box allows the user to select multiple counties which they have the option of including in the search. The user should be able to select or omit the...
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10085
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.