Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Screen pixel

Dear Experts,
How can I get screen resolution in VB (1024x768 pixels or 800x600 pixels)?
Please help,
Tks.
0
phuongnguyen
Asked:
phuongnguyen
1 Solution
 
BelfryCommented:
height: Screen.Height / Screen.TwipsPerPixelY,
width:  Screen.Width / Screen.TwipsPerPixelX

---
belfry
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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