Solved

Getting the user screen size/resolution

Posted on 2002-04-30
2
140 Views
Last Modified: 2010-05-02
Hi,

I just want to get the users screen size/resolution as my app starts up. If not at least 1024 x 768 I will advise the user of what they need to do. I suppose its just the correct APIs I need?

Anyone help?
0
Comment
Question by:jonesgj
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
Comment Utility
You don't actually need API:

If Screen.Height / Screen.TwipsPerPixelY < 768 Or Screen.Width / Screen.TwipsPerPixelX < 1024 Then
  Msgbox "Insufficient Resolution"
  'Exit
Else
  'Continue
End If
0
 

Author Comment

by:jonesgj
Comment Utility
Ofcourse.... many thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

7 Experts available now in Live!

Get 1:1 Help Now