Solved

Pixels per inch

Posted on 2013-11-06
3
650 Views
Last Modified: 2013-11-06
Using VB.net (specifically vb 2010 or vb 2012), how can I determine the pixels per inch of any monitor screen?
0
Comment
Question by:GCCal
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39628975
I don't think you can.  The actual screen size in inches is not reported to the OS.  Only the dimensions in pixels because that's all the video driver cares about.  Two screens with the same pixel dimensions like 1280x1024 do not have to be the same physical size so the 'pixels per inch' won't be the same.
0
 

Author Comment

by:GCCal
ID: 39629043
Thanks very much Dave.  I had almost come to that conclusion but needed some expert verification.  Will be accepted.  I hope the points get awarded as this is my first question in a long time. Old minds tend to forget.  Thanks,
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39629126
You're welcome.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now