Solved

Determining a user's screen resolution from VB

Posted on 1998-08-21
2
131 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 100 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

830 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