VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Gets the exact resolution of the screen

by Distrabution: Arhur Liberman. Writer: Peterh (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Thu 1st March 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Gets the exact resolution of the screen

Rate Gets the exact resolution of the screen



Xres = Screen.Width / Screen.TwipsPerPixelX
Yres = Screen.Height / Screen.TwipsPerPixelY
MsgBox Xres & " x " & Yres
End Sub

Download this snippet    Add to My Saved Code

Gets the exact resolution of the screen Comments

No comments have been posted about Gets the exact resolution of the screen. Why not be the first to post a comment about Gets the exact resolution of the screen.

Post your comment

Subject:
Message:
0/1000 characters