473,412 Members | 2,142 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,412 software developers and data experts.

determine monitor resolutions?

I need to programmatically determine the dpi of individual monitors on a
multimonitor system. I'm using Screen.AllScreens to get the monitors but
that only tells me their resolution in pixels. Can someone point me in the
right direction please?

Thanks.
Nate Hekman
Calgary, Alberta, Canada
Jul 21 '05 #1
1 1295
You could manually convert it assuming you know, or could extract the
monitor sizes. Its along the lines of :

Resolution (pixels) / Screen Size (inches) = DPI
--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

"Nate Hekman" <he*********************@nospam.com> wrote in message
news:On*************@TK2MSFTNGP09.phx.gbl...
I need to programmatically determine the dpi of individual monitors on a
multimonitor system. I'm using Screen.AllScreens to get the monitors but
that only tells me their resolution in pixels. Can someone point me in the right direction please?

Thanks.
Nate Hekman
Calgary, Alberta, Canada

Jul 21 '05 #2

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

Similar topics

1
by: Maxine | last post by:
I work on a 19" monitor. To approximately test different resolutions, I use "Sizer" software (http://www.brianapps.net/sizer.html) to test in 800x600 and 460x800. However, that is viewing the...
64
by: Dave | last post by:
A friend of mine pointed out the other day that certain elements on my web site are too small. But in most of what I publish, fonts are at default size or smaller, and my images are easy to see. I...
10
by: santiago538 | last post by:
Hi, Is there any way to specify which monitor a Window.open() will launch a new browser window in on systems with more than one display. It would only need to work with Mozilla browsers, and not...
9
by: Adam | last post by:
Can someone please help!! I am trying to figure out what a font is? Assume I am working with a fixed font say Courier 10 point font Question 1: What does this mean 10 point font Question 2:...
2
by: Armin | last post by:
Hello I want get the Screen Coordinates of a Control. I do this with Control.PointToScreen. vlob_Point = Me.PointToScreen(New System.Drawing.Point(0, 0)) This works fine with a Single...
1
by: Nate Hekman | last post by:
I need to programmatically determine the dpi of individual monitors on a multimonitor system. I'm using Screen.AllScreens to get the monitors but that only tells me their resolution in pixels. ...
1
by: Al Reid | last post by:
I have an application where a 3rd party viewer is displayed next to a VB2005 app. I was told that the viewer needs to occupy the left 2/3 of the screen and the app the right 1/3. Is there...
5
by: Polaris | last post by:
Hi Experts: Using C#, is there a way to get the display monitor's size in inches (for example, I'd like to know if the monitor size is 15", 17" or whatever)? Thanks in Advance Polaris
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
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
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,...
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.