[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Getting the user screen size/resolution

Posted on 2002-04-30
2
Medium Priority
?
149 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 400 total points
ID: 6980596
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
ID: 6980681
Ofcourse.... many thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

829 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