Solved

Screen pixel

Posted on 2003-11-09
1
283 Views
Last Modified: 2012-05-04
Dear Experts,
How can I get screen resolution in VB (1024x768 pixels or 800x600 pixels)?
Please help,
Tks.
0
Comment
Question by:phuongnguyen
1 Comment
 
LVL 1

Accepted Solution

by:
Belfry earned 50 total points
ID: 9712055
height: Screen.Height / Screen.TwipsPerPixelY,
width:  Screen.Width / Screen.TwipsPerPixelX

---
belfry
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

840 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