• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Resolution of Monitor

What code is required to do the following:

Return and change the current resolution of a monitor to specified setting.
If you can't return the current resolution, how do you return the number of monitors currently connected to the PC ?
0
YourMajesty
Asked:
YourMajesty
1 Solution
 
PoddyCommented:
To return the resolution use...

screen.Width/screen.TwipsPerPixelX
screen.Height/screen.TwipsPerPixelY

0
 
altenaCommented:
And to change the resolution from a VB app would be rude at least.....
0
 
YourMajestyAuthor Commented:
With the change resolution thing, all I want is to change the monitor to low resolution so a game could run. I think that's VGA isn't it.
0
 
altenaCommented:
Now you mention it....

DirectX has features to change the resolution, (for gaming)
Its just that I have no idea how to use that from VB.

Good Luck
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now