Solved

Determining a user's screen resolution from VB

Posted on 1998-08-21
2
129 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
Comment Utility
use this :

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

0
 

Author Comment

by:lsmith090697
Comment Utility
Thank you for the answer.  I really appreciate it.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

763 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

11 Experts available now in Live!

Get 1:1 Help Now