[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

detect the height and width of the computer screen

Posted on 2000-03-21
4
Medium Priority
?
461 Views
Last Modified: 2010-05-02
Can expert show me how to detect the height, width of the computer screen ?
0
Comment
Question by:sing_web
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
Jeremy_D earned 60 total points
ID: 2645335
height = Screen.Height
width = Screen.Width

Neat huh?
0
 

Author Comment

by:sing_web
ID: 2645343
is there a way to convert screen.height and
screen.width into the screnn resolution ?
0
 
LVL 4

Expert Comment

by:Jeremy_D
ID: 2645367
Yep:

WidthInPixels = Screen.Width \ Screen.TwipsPerPixelX
HeightInPixels = Screen.Height \ Screen.TwipsPerPixelY
0
 

Author Comment

by:sing_web
ID: 2645385
is there a way to convert screen.height and
screen.width into the screnn resolution ?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

650 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