[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Determining a user's screen resolution from VB

Posted on 1998-08-21
2
Medium Priority
?
136 Views
Last Modified: 2010-04-30
How can I size my VB form to match a user's screen resolution?
0
Comment
Question by:lsmith090697
2 Comments
 
LVL 14

Accepted Solution

by:
waty earned 400 total points
ID: 1430202
use this :

   Me.Top = 0
   Me.Left = 0
   Me.Width = Screen.Width
   Me.Height = Screen.Height

0
 

Author Comment

by:lsmith090697
ID: 1430203
Thank you for the answer.  I really appreciate it.
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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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
Course of the Month18 days, 23 hours left to enroll

834 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