?
Solved

Determining a user's screen resolution from VB

Posted on 1998-08-21
2
Medium Priority
?
138 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 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…
Suggested Courses

601 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